Skip to content

chore(pre-commit): autoupdate hooks #419

chore(pre-commit): autoupdate hooks

chore(pre-commit): autoupdate hooks #419

Workflow file for this run

name: Run pytests
on:
pull_request:
branches: ["*"]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version-file: .github/workflows/.python-version
- name: Install package and dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements.txt
pip install -r requirements.txt
- name: Load environment variables
uses: cardinalby/export-env-action@v2
with:
envFile: .env.sample
- name: Test with pytest
run: |
flask init-db
coverage run -m pytest
coverage report -m