Skip to content

Commit

Permalink
fix: pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
very-doge-wow committed Mar 24, 2024
1 parent b065a09 commit 54e1c31
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,37 @@ jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Checking out the repo
# check out repo
- uses: actions/checkout@v4

# install all deps in pipenv
- name: install_deps
uses: VaultVulp/[email protected]
with:
command: install -d # Install all dependencies, including development ones
command: install -d

# show installed deps in graph
- name: show_graph
uses: VaultVulp/[email protected]
with:
command: graph # shows installed pip packages

# run pytest through coverage package
- name: test
uses: VaultVulp/[email protected]
with:
command: |
run coverage run -m pytest && \
coverage report
run coverage run -m pytest
- name: Upload coverage to Codecov
# generate coverage report
- name: report
uses: VaultVulp/[email protected]
with:
command: |
run coverage report
# upload coverage to codecov
- name: upload
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 54e1c31

Please sign in to comment.