-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d899c17
commit 54999eb
Showing
4 changed files
with
52 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: macos build | ||
|
||
# workflow dispatch has been added for testing purposes | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
runs-on: ["macos-latest"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.13" | ||
- 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=../../ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: ubuntu build | ||
|
||
# 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.13" | ||
- 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: | | ||
cd tests/unit && python -m unittest discover -s . -p "*.py" |
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