Skip to content

Commit d2f86ba

Browse files
committed
Move tests back under one workflow
1 parent c8ede3c commit d2f86ba

1 file changed

Lines changed: 10 additions & 14 deletions

File tree

.github/workflows/test.yaml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: [macos-latest, windows-latest]
25+
os: [ubuntu-latest, macos-latest, windows-latest]
2626
steps:
2727
- uses: actions/checkout@v6
2828
- name: Setup venv
2929
uses: ./.github/actions/setup-venv
30-
- name: Run quick tests
31-
id: run-quick-tests
30+
31+
- name: Run non-ubuntu quick tests
32+
id: run-unit-tests
33+
if: matrix.os != 'ubuntu-latest'
3234
shell: bash
3335
run: >
3436
uv run pytest \
@@ -37,15 +39,9 @@ jobs:
3739
--cov=src tests \
3840
--log-level=DEBUG \
3941
--verbose
40-
41-
unit-ubuntu:
42-
runs-on: ubuntu-latest
43-
steps:
44-
- uses: actions/checkout@v6
45-
- name: Setup venv
46-
uses: ./.github/actions/setup-venv
47-
- name: Run quick tests
48-
id: run-quick-tests
42+
- name: Run ubuntu quick tests
43+
id: run-quick-ubuntu-tests
44+
if: matrix.os == 'ubuntu-latest'
4945
shell: bash
5046
run: >
5147
uv run pytest \
@@ -57,7 +53,7 @@ jobs:
5753
--verbose
5854
5955
- name: Run slow tests
60-
if: github.event_name == 'workflow_dispatch'
56+
if: matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch'
6157
shell: bash
6258
run: >
6359
uv run pytest \
@@ -69,7 +65,7 @@ jobs:
6965
--verbose
7066
7167
- name: Run full pipeline tests
72-
if: github.event_name == 'workflow_dispatch' && inputs.e2e == true
68+
if: matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch' && inputs.e2e == true
7369
shell: bash
7470
run: >
7571
uv run pytest \

0 commit comments

Comments
 (0)