Skip to content

Merge pull request #1 from chrispyles/release #9

Merge pull request #1 from chrispyles/release

Merge pull request #1 from chrispyles/release #9

Workflow file for this run

# Workflow for running the test suite
name: Run tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: getsentry/[email protected]
with:
python-version: 3.11
cache-dependency-path: |
requirements.txt
requirements-dev.txt
install-cmd: pip install -r requirements.txt -r requirements-dev.txt
- name: Run tests
run: |
source .venv/bin/activate
coverage run -m pytest -vv
coverage xml -i
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true