Skip to content

Commit 3759b18

Browse files
committed
Add ci for mac and windows
1 parent 2e5342b commit 3759b18

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
strategy:
3131
matrix:
32-
os: [ubuntu-latest]
32+
os: [ubuntu-latest, macos-latest, windows-latest]
3333
python-version: ["3.11"]
3434

3535
steps:
@@ -39,6 +39,8 @@ jobs:
3939
with:
4040
version: ${{ matrix.python-version }}
4141

42+
- uses: actions-ext/rust/setup@main
43+
4244
- name: Install dependencies
4345
run: make develop
4446

@@ -59,17 +61,19 @@ jobs:
5961
with:
6062
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
6163
path: junit.xml
62-
if: ${{ always() }}
64+
if: ${{ matrix.os == 'ubuntu-latest' }}
6365

6466
- name: Publish Unit Test Results
6567
uses: EnricoMi/publish-unit-test-result-action@v2
6668
with:
6769
files: '**/junit.xml'
70+
if: ${{ matrix.os == 'ubuntu-latest' }}
6871

6972
- name: Upload coverage
7073
uses: codecov/codecov-action@v5
7174
with:
7275
token: ${{ secrets.CODECOV_TOKEN }}
76+
if: ${{ matrix.os == 'ubuntu-latest' }}
7377

7478
- name: Make dist
7579
run: make dist
@@ -78,3 +82,4 @@ jobs:
7882
with:
7983
name: dist-${{matrix.os}}
8084
path: dist
85+
if: ${{ matrix.os == 'ubuntu-latest' }}

0 commit comments

Comments
 (0)