Skip to content

Commit

Permalink
Fix codecov command location + pytest cov
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneCmb committed Nov 6, 2023
1 parent 44424f1 commit 462d708
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ jobs:
- name: Test with pytest πŸ”§
run: |
pytest -v
pytest -v --cov
- name: Run codecov πŸ”§
run: |
codecov
deploy:
needs: test
Expand All @@ -47,15 +51,6 @@ jobs:
python -m pip install --upgrade pip
pip install -e .['doc']
- name: Run codecov πŸ”§
run: |
codecov
- name: Upload coverage reports to Codecov πŸš€
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Build the Doc πŸ”§
run: |
cd docs
Expand All @@ -69,4 +64,9 @@ jobs:
branch: gh-pages
folder: docs/_build/html/
clean: true
ssh-key: ${{ secrets.DEPLOY_KEY }}
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Upload coverage reports to Codecov πŸš€
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 462d708

Please sign in to comment.