Bump coverage from 7.6.12 to 7.8.0 #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pipenv Install and Test | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
unittests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Python, pipenv and Pipfile packages | |
uses: palewire/install-python-pipenv-pipfile@v4 | |
with: | |
python-version: 3.11 | |
- name: Run tests | |
run: | | |
pipenv install --dev | |
cd code/ | |
pipenv run coverage run --source api/ -m pytest --verbose tests/unit/ | |
pipenv run coverage report --fail-under=80 | |
- name: Run pip-audit | |
run: pipenv run pip-audit |