Skip to content

Commit

Permalink
Try full workflow on mac runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuabmoore committed Feb 15, 2024
1 parent de3ffb4 commit 75c8bc5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/run_unit_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
name: Unit Testing Pipeline
# name: Unit Testing Pipeline

on:
push:
# on:
# push:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9"]
steps:
- uses: actions/checkout@v3
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
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 dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
- name: Run pyspi calculator unit tests
run: |
pytest -v ./tests/test_calc.py
- name: Run pyspi SPI unit tests
run: |
pytest -v ./tests/test_SPIs.py
# jobs:
# build:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.8", "3.9"]
# steps:
# - uses: actions/checkout@v3
# - name: Setup python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# 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 dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt
# pip install .
# - name: Run pyspi calculator unit tests
# run: |
# pytest -v ./tests/test_calc.py
# - name: Run pyspi SPI unit tests
# run: |
# pytest -v ./tests/test_SPIs.py

22 changes: 11 additions & 11 deletions .github/workflows/run_unit_tests_mac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
- name: Install octave (with brew)
run: |
brew install octave
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt
# pip install .
# - name: Run pyspi calculator unit tests
# run: |
# pytest -v ./tests/test_calc.py
# - name: Run pyspi SPI unit tests
# run: |
# pytest -v ./tests/test_SPIs.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
- name: Run pyspi calculator unit tests
run: |
pytest -v ./tests/test_calc.py
- name: Run pyspi SPI unit tests
run: |
pytest -v ./tests/test_SPIs.py

0 comments on commit 75c8bc5

Please sign in to comment.