-
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
068fe9a
commit bf6c142
Showing
5 changed files
with
33 additions
and
22 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,33 @@ | ||
name: macos python=3.12 | ||
|
||
# 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: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.12 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n spare python=3.12 | ||
- name: Install pip | ||
run: conda run -n spare conda install pip | ||
- name: Install spare scores | ||
run: | | ||
pip install setuptools twine wheel | ||
python -m pip install . | ||
- name: Download dependencies | ||
run: pip install setuptools && pip install . | ||
- name: Run unit tests | ||
run: | | ||
cd tests/unit && pytest --cov=../../ |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.