Skip to content

Fix mocking of errors #2

Fix mocking of errors

Fix mocking of errors #2

Workflow file for this run

name: Python application
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
pip install -e .[dev]
- name: Run pre-commit hooks
run: pre-commit run --all-files
- name: Run tests
run: |
python -m unittest discover