Skip to content

Merge pull request #2 from kelvinou01/dev #37

Merge pull request #2 from kelvinou01/dev

Merge pull request #2 from kelvinou01/dev #37

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: 'Run Tests'
on:
push:
branches: [ "prod", "dev" ]
pull_request:
branches: [ "prod", "dev" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install test dependencies
run: pip3 install .[test]
- name: Run pre-commit
run: make pre-commit
- name: Run tests
run: make test