From 75c8bc5492a4e87eaa1230096ceb1f911ce25bd7 Mon Sep 17 00:00:00 2001 From: jmoo2880 Date: Fri, 16 Feb 2024 06:54:32 +1100 Subject: [PATCH] Try full workflow on mac runner. --- .github/workflows/run_unit_tests.yaml | 62 +++++++++++------------ .github/workflows/run_unit_tests_mac.yaml | 22 ++++---- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/run_unit_tests.yaml b/.github/workflows/run_unit_tests.yaml index c9a19cd..8f5d613 100644 --- a/.github/workflows/run_unit_tests.yaml +++ b/.github/workflows/run_unit_tests.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/run_unit_tests_mac.yaml b/.github/workflows/run_unit_tests_mac.yaml index 4ad0583..c14ac3f 100644 --- a/.github/workflows/run_unit_tests_mac.yaml +++ b/.github/workflows/run_unit_tests_mac.yaml @@ -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 \ No newline at end of file