Skip to content

Add GitHub Actions workflow to run tests on pull requests #1

Add GitHub Actions workflow to run tests on pull requests

Add GitHub Actions workflow to run tests on pull requests #1

Workflow file for this run

name: CI
on:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install . pytest
- name: Run test suite
run: pytest