-
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.
Manually added more workflows for the other versions
- Loading branch information
1 parent
bf6c142
commit 644ad23
Showing
11 changed files
with
248 additions
and
7 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,42 @@ | ||
name: macos python=3.10 | ||
|
||
# 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.10" | ||
- name: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.10 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n spare python=3.10 | ||
- name: Install pip | ||
run: conda run -n spare conda install pip | ||
- name: Install spare scores | ||
run: | | ||
pip install setuptools twine wheel | ||
python setup.py bdist_wheel | ||
cd dist | ||
WHEEL_FILE=$(ls spare_scores*) | ||
pip install "$WHEEL_FILE" | ||
- name: Download dependencies | ||
run: pip install setuptools && pip install . | ||
- name: Generate Coverage Report | ||
run: | | ||
pip install pytest-cov | ||
cd tests/unit && pytest --cov=../../ --cov-report=xml | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: CBICA/spare_score |
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,42 @@ | ||
name: macos python=3.11 | ||
|
||
# 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.11" | ||
- name: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.11 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n spare python=3.11 | ||
- name: Install pip | ||
run: conda run -n spare conda install pip | ||
- name: Install spare scores | ||
run: | | ||
pip install setuptools twine wheel | ||
python setup.py bdist_wheel | ||
cd dist | ||
WHEEL_FILE=$(ls spare_scores*) | ||
pip install "$WHEEL_FILE" | ||
- name: Download dependencies | ||
run: pip install setuptools && pip install . | ||
- name: Generate Coverage Report | ||
run: | | ||
pip install pytest-cov | ||
cd tests/unit && pytest --cov=../../ --cov-report=xml | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: CBICA/spare_score |
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,42 @@ | ||
name: macos python=3.9 | ||
|
||
# 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.9" | ||
- name: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.9 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n spare python=3.9 | ||
- name: Install pip | ||
run: conda run -n spare conda install pip | ||
- name: Install spare scores | ||
run: | | ||
pip install setuptools twine wheel | ||
python setup.py bdist_wheel | ||
cd dist | ||
WHEEL_FILE=$(ls spare_scores*) | ||
pip install "$WHEEL_FILE" | ||
- name: Download dependencies | ||
run: pip install setuptools && pip install . | ||
- name: Generate Coverage Report | ||
run: | | ||
pip install pytest-cov | ||
cd tests/unit && pytest --cov=../../ --cov-report=xml | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: CBICA/spare_score |
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,36 @@ | ||
name: ubuntu python=3.10 | ||
|
||
# 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.10" | ||
- name: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.10 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n spare python=3.10 | ||
- name: Install pip | ||
run: conda run -n spare conda install pip | ||
- name: Install spare scores | ||
run: | | ||
pip install setuptools twine wheel | ||
python setup.py bdist_wheel | ||
cd dist | ||
WHEEL_FILE=$(ls spare_scores*) | ||
pip install "$WHEEL_FILE" | ||
- name: Download dependencies | ||
run: pip install setuptools && 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: ubuntu python=3.11 | ||
|
||
# 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.11" | ||
- name: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.11 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n spare python=3.11 | ||
- name: Install pip | ||
run: conda run -n spare conda install pip | ||
- name: Install spare scores | ||
run: | | ||
pip install setuptools twine wheel | ||
python setup.py bdist_wheel | ||
cd dist | ||
WHEEL_FILE=$(ls spare_scores*) | ||
pip install "$WHEEL_FILE" | ||
- name: Download dependencies | ||
run: pip install setuptools && 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
2 changes: 1 addition & 1 deletion
2
.github/workflows/ubuntu-tersts-3.8.yml → .github/workflows/ubuntu-tests-3.8.yml
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,36 @@ | ||
name: ubuntu python=3.9 | ||
|
||
# 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.9" | ||
- name: Set-up miniconda for macos and ubuntu | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.9 | ||
miniconda-version: "latest" | ||
- name: Create conda env | ||
run: conda create -n spare python=3.9 | ||
- name: Install pip | ||
run: conda run -n spare conda install pip | ||
- name: Install spare scores | ||
run: | | ||
pip install setuptools twine wheel | ||
python setup.py bdist_wheel | ||
cd dist | ||
WHEEL_FILE=$(ls spare_scores*) | ||
pip install "$WHEEL_FILE" | ||
- name: Download dependencies | ||
run: pip install setuptools && 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
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