Update ci.yml

This commit is contained in:
Akash Mahanty 2020-11-26 12:14:15 +05:30 committed by GitHub
parent 406e03c52f
commit 525cf17c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,8 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest - name: Test with pytest
run: | run: |
pytest --cov=waybackpy tests/ cd tests
pytest --cov=../waybackpy .
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
run: | run: |
bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }} bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}