Skip to content

Commit

Permalink
Codecov (#25)
Browse files Browse the repository at this point in the history
* fix : codecov version updated

* fix : codecov upload section updated

* fix : minor edit in test.yml
  • Loading branch information
sepandhaghighi authored Nov 20, 2024
1 parent 773d623 commit e78e56c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,18 @@ 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
- name: Test with pytest
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: |
Expand Down

0 comments on commit e78e56c

Please sign in to comment.