-
Notifications
You must be signed in to change notification settings - Fork 27
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
539549c
commit fb6b619
Showing
5 changed files
with
66 additions
and
68 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 |
---|---|---|
@@ -1,36 +1,35 @@ | ||
# name: Unit Testing Pipeline | ||
name: Unit Testing Pipeline | ||
|
||
# on: | ||
# push: | ||
on: | ||
push: | ||
|
||
# jobs: | ||
# test-ubuntu: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# python-version: ["3.8"] | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Setup python ${{ matrix.python-version }} | ||
# uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# cache: 'pip' | ||
# - name: Install octave | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install -y build-essential octave | ||
# - name: Install pyspi dependencies | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# pip install -r requirements.txt | ||
# pip install . | ||
# - name: Run data generation | ||
# run: | | ||
# python tests/generate_benchmark_tables.py | ||
# - name: Upload artifact | ||
# uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: benchmark-tables | ||
# path: tests/CML7_benchmark_tables_new.pkl | ||
# | ||
jobs: | ||
test-ubuntu: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.9"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
- name: Install octave | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y build-essential octave | ||
- name: Install pyspi dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
pip install . | ||
- name: Run data generation | ||
run: | | ||
python tests/generate_benchmark_tables.py | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: benchmark-tables | ||
path: tests/CML7_benchmark_tables_new.pkl |
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 |
---|---|---|
@@ -1,35 +1,34 @@ | ||
name: Unit Testing Pipeline | ||
# name: Unit Testing Pipeline | ||
|
||
on: | ||
push: | ||
# on: | ||
# push: | ||
|
||
jobs: | ||
test-ubuntu: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
- name: Install octave | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y build-essential octave | ||
- name: Install pyspi dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
pip install . | ||
- name: Run pyspi calculator/utils unit tests | ||
run: | | ||
pytest -v ./tests/test_calc.py | ||
pytest -v ./tests/test_utils.py | ||
- name: Run pyspi SPI unit tests | ||
run: | | ||
pytest -v ./tests/test_SPIs.py | ||
# jobs: | ||
# test-ubuntu: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# python-version: ["3.8", "3.9"] | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Setup python ${{ matrix.python-version }} | ||
# uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# cache: 'pip' | ||
# - name: Install octave | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install -y build-essential octave | ||
# - name: Install pyspi dependencies | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# pip install -r requirements.txt | ||
# pip install . | ||
# - name: Run pyspi calculator/utils unit tests | ||
# run: | | ||
# pytest -v ./tests/test_calc.py | ||
# pytest -v ./tests/test_utils.py | ||
# - name: Run pyspi SPI unit tests | ||
# run: | | ||
# pytest -v ./tests/test_SPIs.py |
Binary file not shown.
Binary file not shown.
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