Fixing python 3.12 issues for MacOS #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ubuntu python=3.12 | |
# workflow dispatch has been added for testing purposes | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ["ubuntu-latest"] | |
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 setuptools twine wheel | |
python -m pip install . | |
- name: Download dependencies | |
run: pip install setuptools && pip install -r dev-dependencies.txt | |
- name: Run unit tests | |
run: | | |
cd tests/unit && python -m unittest discover -s . -p "*.py" |