diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1758680..a81ddd7 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -27,7 +27,7 @@ jobs: - name: Lint with Ruff run: | - python -m pip install ruff + pip install .[tests] ruff --output-format=github . continue-on-error: true @@ -53,13 +53,10 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip - python -m pip install pytest pip install .[tests] - name: Test with pytest run: | - pip install pytest coverage coverage run -m pytest tests/ mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }} @@ -90,14 +87,14 @@ jobs: - name: Combine coverage files run: | - pip install coverage + pip install .[tests] coverage combine coverage coverage report coverage html --show-contexts --title "RenderCV coverage for ${{ github.sha }}" - name: Upload the coverage report to smokeshow run: | - pip install smokeshow + pip install smokeshow==0.4.0 smokeshow upload ./htmlcov env: SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}