Skip to content

Commit 3501242

Browse files
committed
fix github action
1 parent 6eba41d commit 3501242

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/unittest.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
strategy:
1313
matrix:
14-
python: ['3.7', '3.8', '3.9', '3.10', "3.11", "3.12", "3.13"]
14+
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818
- name: Setup Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: ${{ '{{' }} matrix.python {{ '}}' }}
21+
python-version: ${{ matrix.python }}
2222
- name: Install nox
2323
run: |
2424
python -m pip install --upgrade setuptools pip wheel
2525
python -m pip install nox
2626
- name: Run unit tests
2727
env:
28-
COVERAGE_FILE: .coverage-${{ '{{' }} matrix.python {{ '}}' }}
28+
COVERAGE_FILE: .coverage-${{ matrix.python }}
2929
run: |
30-
nox -s unit-${{ '{{' }} matrix.python {{ '}}' }}
30+
nox -s unit-${{ matrix.python }}
3131
- name: Upload coverage results
3232
uses: actions/upload-artifact@v4
3333
with:
34-
name: coverage-artifact-${{ '{{' }} matrix.python {{ '}}' }}
35-
path: .coverage-${{ '{{' }} matrix.python {{ '}}' }}
34+
name: coverage-artifact-${{ matrix.python }}
35+
path: .coverage-${{ matrix.python }}
3636
include-hidden-files: true
3737

3838
cover:
@@ -45,7 +45,7 @@ jobs:
4545
- name: Setup Python
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: "{{ default_python_version }}"
48+
python-version: "3.8"
4949
- name: Install coverage
5050
run: |
5151
python -m pip install --upgrade setuptools pip wheel
@@ -58,4 +58,4 @@ jobs:
5858
run: |
5959
find .coverage-results -type f -name '*.zip' -exec unzip {} \;
6060
coverage combine .coverage-results/**/.coverage*
61-
coverage report --show-missing --fail-under={{ cov_level if cov_level != None else 100 }}
61+
coverage report --show-missing --fail-under=99

0 commit comments

Comments
 (0)