Skip to content

fix branch name

fix branch name #3

Workflow file for this run

---
name: Test
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: # allow manual triggering
jobs:
test:
runs-on: ubuntu-latest
name: Build and test
strategy:
matrix:
python-version: ["3.7", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
run: |
pip install -r requirements.txt
pip install -e . # current package in editable mode
- name: Test with pytest
run: pytest tests/test_basics.py