Skip to content

Test cases fixes and pre-commit update #71

Test cases fixes and pre-commit update

Test cases fixes and pre-commit update #71

name: macos build
# workflow dispatch has been added for testing purposes
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ["macos-13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install spare scores
run: |
python -m pip cache purge
pip install -r requirements.txt
pip install setuptools twine wheel
python -m pip install .
- name: Run unit tests
run: |
pip install pytest pytest-cov
cd tests/unit && pytest --cov=../../