diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 34aa034..f55ffa0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Set up Python with: python-version: "3.10" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5bc019..49f9bf1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: python-version: [ "3.10", "3.11" ] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Set up Python with: python-version: ${{ matrix.python-version }} @@ -21,6 +21,11 @@ jobs: - name: Install Python dependencies run: python -m poetry install - name: Test - run: python -m poetry run pytest -svv --cov=chord_drs --cov-branch + run: python -m poetry run pytest -svv --cov=chord_drs --cov-branch --cov-report xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}