From 406e03c52fee8d9fa48069211310826e0cfebade Mon Sep 17 00:00:00 2001 From: Akash Mahanty Date: Thu, 26 Nov 2020 12:04:45 +0530 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89a45a2..19ca96c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,12 +36,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - cd tests - pytest --cov=../waybackpy + pytest --cov=waybackpy tests/ - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1.0.6 - with: - token: ${{ secrets.CODECOV_TOKEN }} - env_vars: OS,PYTHON - fail_ci_if_error: true - verbose: true + run: | + bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}