Skip to content

test: update pytest settings #69

test: update pytest settings

test: update pytest settings #69

Workflow file for this run

name: pytest
on:
- push
- pull_request
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests with coverage
run: |
python -m pytest --cov
# tar czf htmlcov.tar.gz htmlcov/
# - name: Upload coverage report
# uses: actions/upload-artifact@v2
# with:
# name: htmlcov
# path: htmlcov.tar.gz