From 117f75a2aabf2ca1e8f33ef4fb7b9a3c6996bdd5 Mon Sep 17 00:00:00 2001 From: Situphen Date: Sun, 6 Mar 2022 17:29:44 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20coverage=20et=20cov?= =?UTF-8?q?eralls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 6 +++--- requirements-ci.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf4243c36d..e13cb03e33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ env: NODE_VERSION: "12" PYTHON_VERSION: "3.7" MARIADB_VERSION: "10.4.10" - COVERALLS_VERSION: "2.2.0" + COVERALLS_VERSION: "3.3.1" # check if Coverage needs to be also updated in requirements-ci.txt BLACK_VERSION: "21.12b0" # needs to be also updated in requirements-dev.txt and .pre-commit-config.yaml # As GitHub Action does not allow environment variables @@ -241,7 +241,7 @@ jobs: run: | echo $COVERALLS_FLAG_NAME python -m pip install coveralls==${{ env.COVERALLS_VERSION }} - coveralls + coveralls --service=github # See https://github.com/TheKevJames/coveralls-python/issues/252 env: GITHUB_TOKEN: ${{ secrets.github_token }} COVERALLS_PARALLEL: true @@ -262,7 +262,7 @@ jobs: - name: Upload coverage data run: | python -m pip install coveralls==${{ env.COVERALLS_VERSION }} - coveralls --finish + coveralls --finish --service=github # See https://github.com/TheKevJames/coveralls-python/issues/252 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/requirements-ci.txt b/requirements-ci.txt index fbccaf0f6e..1e8da9ea91 100644 --- a/requirements-ci.txt +++ b/requirements-ci.txt @@ -1,4 +1,4 @@ -r requirements-dev.txt -r requirements-prod.txt -coverage==5.5 +coverage==6.3.2 # check if Coveralls needs to be also updated in .github/workflows/ci.yml