Skip to content

Commit 82a750c

Browse files
committed
update osses
1 parent 722d1f0 commit 82a750c

1 file changed

Lines changed: 18 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
jobs:
14-
build-and-test-unix:
14+
build-and-test-no-litert:
1515
runs-on: ${{ matrix.os }}
1616

1717
strategy:
@@ -23,6 +23,7 @@ jobs:
2323
ubuntu-24.04-arm,
2424
macos-15,
2525
macos-15-intel,
26+
windows-2025,
2627
]
2728
python-version: ["3.12"]
2829

@@ -41,31 +42,37 @@ jobs:
4142
run: |
4243
python -m pip install uv build --upgrade
4344
python -m uv pip install twine build --upgrade
44-
python -m uv pip install --system .[tests,litert]
45+
python -m uv pip install --system .[tests]
4546
4647
# - name: Run linters
4748
# run: |
48-
# ruff check src/mel_cepstral_distance
49-
# ruff check src/mel_cepstral_distance_tests
49+
# ruff check src/birdnet
50+
# ruff check src/birdnet_tests
5051

5152
# - name: Type checking
5253
# run: mypy
5354

5455
- name: Run tests
5556
run: |
56-
pytest -m "not repro and litert" -n auto
57+
pytest -m "not repro and (not litert and not gpu)" -n auto
5758
5859
- name: Test build
5960
run: |
6061
python -m build -o dist/
6162
python -m twine check dist/*
6263
63-
build-and-test-windows:
64+
build-and-test-with-litert:
6465
runs-on: ${{ matrix.os }}
6566

6667
strategy:
6768
matrix:
68-
os: [windows-2025]
69+
os: [
70+
ubuntu-slim,
71+
ubuntu-24.04,
72+
ubuntu-24.04-arm,
73+
macos-15,
74+
# intel mac and windows not supported for litert
75+
]
6976
python-version: ["3.12"]
7077

7178
steps:
@@ -82,22 +89,16 @@ jobs:
8289
- name: Install dependencies
8390
run: |
8491
python -m pip install uv build --upgrade
85-
python -m uv pip install twine build --upgrade
86-
python -m uv pip install --system .[tests]
92+
python -m uv pip install --system .[tests,litert]
8793
8894
# - name: Run linters
8995
# run: |
90-
# ruff check src/birdnet
91-
# ruff check src/birdnet_tests
96+
# ruff check src/mel_cepstral_distance
97+
# ruff check src/mel_cepstral_distance_tests
9298

9399
# - name: Type checking
94100
# run: mypy
95101

96102
- name: Run tests
97103
run: |
98-
pytest -m "not repro and (not litert and not gpu)" -n auto
99-
100-
- name: Test build
101-
run: |
102-
python -m build -o dist/
103-
python -m twine check dist/*
104+
pytest -m "not repro and litert" -n auto

0 commit comments

Comments
 (0)