Skip to content

Commit 2399519

Browse files
committed
Fix: coverage build
1 parent f16e711 commit 2399519

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ name: package build
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
build-linux:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
1414
python-version:
15-
- '3.10.14'
16-
- '3.11.9'
17-
- '3.12.4'
15+
- "3.10.14"
16+
- "3.11.9"
17+
- "3.12.4"
1818

1919
defaults:
2020
run:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Checkout repository
2525
uses: actions/checkout@v4
2626
with:
27-
submodules: 'true'
27+
submodules: "true"
2828

2929
- name: Set up Python
3030
uses: actions/setup-python@v5
@@ -76,9 +76,9 @@ jobs:
7676
poetry run coverage xml -o coverage.xml
7777
7878
- name: Upload coverage report
79-
uses: actions/upload-artifact@v3
79+
uses: actions/upload-artifact@v4
8080
with:
81-
name: coverage-report-${{ github.job }}-${{ github.run_number }}
81+
name: coverage-report-${{ github.job }}-${{ github.run_number }}-${{ matrix.python-version }}
8282
path: coverage.xml
8383

8484
- name: Build package

0 commit comments

Comments
 (0)