diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15abf468..76608502 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,12 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run tests and collect coverage - run: pytest --cov app + run: pytest --cov app --junitxml=junit.xml -o junit_family=legacy + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage to Codecov (arg token) uses: codecov/codecov-action@main with: diff --git a/requirements.txt b/requirements.txt index c47e1133..b6bbce9f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,10 @@ -attrs==25.3.0 -coverage==7.8.1 -iniconfig==2.1.0 +attrs==25.4.0 +coverage==7.12.0 +iniconfig==2.3.0 packaging==25.0 pluggy==1.6.0 py==1.11.0 -pyparsing==3.2.3 -pytest==8.3.5 -pytest-cov==6.1.0 -tomli==2.2.1 +pyparsing==3.2.5 +pytest==9.0.1 +pytest-cov==7.0.0 +tomli==2.3.0