diff --git a/.github/workflows/check-test-coverage.yml b/.github/workflows/check-test-coverage.yml index c1eeae8..cd3e0c1 100644 --- a/.github/workflows/check-test-coverage.yml +++ b/.github/workflows/check-test-coverage.yml @@ -17,8 +17,11 @@ jobs: - name: Generate coverage report run: | python -m pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi + python -m pip install uv + uv venv + source .venv/bin/activate + uv pip install pytest flake8 + if [ -f requirements_dev.txt ]; then uv pip install -r requirements_dev.txt; fi coverage run --source wqio check_wqio.py --doctest-modules --cov --cov-report=xml - name: Upload coverage reports to Codecov run: | diff --git a/.github/workflows/python-runtests-basic.yml b/.github/workflows/python-runtests-basic.yml index 178f01c..95965c8 100644 --- a/.github/workflows/python-runtests-basic.yml +++ b/.github/workflows/python-runtests-basic.yml @@ -26,8 +26,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest - if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi + python -m pip install uv + uv venv + source .venv/bin/activate + uv pip install pytest + if [ -f requirements_dev.txt ]; then uv pip install -r requirements_dev.txt; fi - name: Test with pytest run: | + source .venv/bin/activate python check_wqio.py --doctest-modules diff --git a/.github/workflows/python-runtests-img-comp.yml b/.github/workflows/python-runtests-img-comp.yml index 253cf4a..3654653 100644 --- a/.github/workflows/python-runtests-img-comp.yml +++ b/.github/workflows/python-runtests-img-comp.yml @@ -22,9 +22,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi + python -m pip install uv + uv venv + source .venv/bin/activate + uv pip install pytest + if [ -f requirements_dev.txt ]; then uv pip install -r requirements_dev.txt; fi - name: Test with pytest run: | + source .venv/bin/activate export MPL_IMGCOMP_TOLERANCE=20 python check_wqio.py --strict --verbose