Skip to content

Commit 20ba9d8

Browse files
[HOTFIX] update tests config for CI to fix coverage regression.
1 parent 8623164 commit 20ba9d8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/Tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ jobs:
9494
if: ${{ !cancelled() && runner.os == 'Windows' }}
9595
run: python -m pip install --upgrade pip
9696
- name: Install dependencies for python ${{ matrix.python-version }} on ${{ matrix.os }}
97-
run: |
98-
pip install --upgrade "pip>=24.3.1" "setuptools>=75.0" "wheel>=0.44" "build>=1.2.1";
99-
pip install --upgrade -r ./requirements.txt ;
100-
pip install --upgrade -r ./tests/requirements.txt || true ;
101-
pip install --upgrade -r ./docs/requirements.txt || true ;
97+
run: make -f Makefile test-reqs || true
10298
- name: Install code-climate tools for ${{ matrix.python-version }} on ${{ matrix.os }}
10399
if: ${{ !cancelled() && runner.os == 'Linux' }}
104100
shell: bash
@@ -115,7 +111,9 @@ jobs:
115111
id: clean
116112
run: make -j1 -f Makefile clean || true ;
117113
- name: Generate Coverage for py${{ matrix.python-version }} on ${{ matrix.os }}
118-
run: make -f Makefile test-pytest >> $GITHUB_STEP_SUMMARY ;
114+
env:
115+
TESTS_USE_PYTEST: 1
116+
run: make -f Makefile test >> $GITHUB_STEP_SUMMARY ;
119117
- name: Upload Python ${{ matrix.python-version }} coverage to Codecov
120118
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
121119
with:

0 commit comments

Comments
 (0)