From 525cf17c6f031091db9dbaf2e7399bb184626733 Mon Sep 17 00:00:00 2001 From: Akash Mahanty Date: Thu, 26 Nov 2020 12:14:15 +0530 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19ca96c..d2fc506 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,8 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest --cov=waybackpy tests/ + cd tests + pytest --cov=../waybackpy . - name: Upload coverage to Codecov run: | bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}