From 9070cdc73d7fac42435493cef596b2385dc0b124 Mon Sep 17 00:00:00 2001 From: Mohammad Hasnain Mohsin Rajan Date: Mon, 26 Apr 2021 20:28:15 +0530 Subject: [PATCH] ci: fix coveralls (#12971) * fix: add service * Update ci-tests.yml * Update ci-tests.yml * fix: coverage version * fix: coveralls * Update requirements.txt * fix: add service name env var * ci: Set COVERALLS_SERVICE_NAME as github * ci: add tokens * Update ci-tests.yml * ci: no rcfile * fix: pin versions Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com> --- .github/workflows/ci-tests.yml | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index d2a00ab05f..e21a1f7ac6 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -149,8 +149,8 @@ jobs: run: | cp ~/frappe-bench/sites/.coverage ${GITHUB_WORKSPACE} cd ${GITHUB_WORKSPACE} - pip install coveralls==3.0.1 - pip install coverage==5.5 + pip install coveralls==2.2.0 + pip install coverage==4.5.4 coveralls --service=github env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/requirements.txt b/requirements.txt index 91f235159f..193c5a86b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ boto3~=1.17.53 braintree~=4.8.0 chardet~=4.0.0 Click~=7.1.2 -coverage~=5.5 +coverage~=4.5.4 croniter~=1.0.11 cryptography~=3.4.7 dropbox~=11.7.0