diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index fcff756..281b5ca 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -20,7 +20,6 @@ jobs: - name: Run tests and collect coverage run: poetry run pytest --cov . - name: Upload coverage reports to Codecov - run: | - curl -Os https://cli.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f coverage-service.xml + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }}