Skip to content

Merge pull request #24 from OscarR-A/P1_2 #54

Merge pull request #24 from OscarR-A/P1_2

Merge pull request #24 from OscarR-A/P1_2 #54

Workflow file for this run

name: test
# Only run this when the main branch changes
on:
push:
branches:
- main
pull_request:
branches:
- main
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- name: Checkout repo and submodules
uses: actions/checkout@v3
with:
submodules: recursive
# Install dependencies
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install runtime dependencies
run: |
pip install -r requirements.txt
- name: Install test dependencies
run: |
pip install pytest
- name: Run tests
run: |
pytest .