Skip to content

Commit

Permalink
ci: add code cov github action
Browse files Browse the repository at this point in the history
  • Loading branch information
baby230211 committed Mar 8, 2023
1 parent cf78f3a commit 93446fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,10 @@ jobs:
run: |
python src/manage.py migrate --verbosity 1 --noinput
- name: Run Test and Codecov
- name: Run Test
run: |
cd src
pytest -n 2 --cov=.
codecov
pytest -n 2 --cov=. --cov-report=term-missing --cov-report=xml
# TODO: Use Official Codecov from Github Actions
# - name: Run Codecov action
# uses: codecov/codecov-action@v3
- name: Run Codecov action
uses: codecov/codecov-action@v3
1 change: 0 additions & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
-r dev.txt
pycrypto
codecov

0 comments on commit 93446fb

Please sign in to comment.