diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ca6f51..9c23db8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - - name: Test requirements Installation + - name: Test requirements installation run: | python otherfiles/requirements-splitter.py pip install --upgrade --upgrade-strategy=only-if-needed -r test-requirements.txt @@ -35,9 +35,10 @@ jobs: run: | python -m pytest . --cov=opr --cov-report=term - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: - fail_ci_if_error: false + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} if: matrix.python-version == env.TEST_PYTHON_VERSION && matrix.os == env.TEST_OS - name: Vulture, Bandit and Pydocstyle tests run: |