From 8918f675028bdb59fc2cb6af41d36fe0faacbcfc Mon Sep 17 00:00:00 2001 From: Andrea Mignone <14820600+floatingpurr@users.noreply.github.com> Date: Mon, 7 Oct 2024 23:13:36 +0200 Subject: [PATCH] Update CI --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19ee49f..12bb915 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install poetry run: pipx install poetry @@ -49,9 +49,10 @@ jobs: run: poetry run pytest -svv --cov=./ --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' + uses: codecov/codecov-action@v4 + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' with: name: sync with poetry # optional fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false) + token: ${{ secrets.CODECOV_TOKEN }}