Skip to content

Add tests hook

Add tests hook #1

Workflow file for this run

name: Run Tests
on:
push:
branches: [main] # Trigger the workflow on pushes to the main branch
pull_request:
branches: [main] # Trigger the workflow on pull requests to the main branch
jobs:
build:
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
run: pytest tests/