Skip to content

Commit

Permalink
Merge pull request #9 from MannLabs/development_gw
Browse files Browse the repository at this point in the history
restrict gh action to loose install
  • Loading branch information
GeorgWa authored Dec 14, 2022
2 parents e387269 + a5f400e commit 3484acd
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/pip_installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ on:
name: Default installation and tests

jobs:
stable_installation:
name: Test stable pip installation on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Conda info
shell: bash -l {0}
run: conda info
- name: Test pip installation with all stable dependencies
shell: bash -l {0}
run: |
cd misc
. ./stable_pip_install.sh
- name: Unittests
shell: bash -l {0}
run: |
cd tests
. ./run_unit_tests.sh
#stable_installation:
# name: Test stable pip installation on ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest, macOS-latest, windows-latest]
# steps:
# - uses: actions/checkout@v2
# - uses: conda-incubator/setup-miniconda@v2
# with:
# auto-update-conda: true
# python-version: ${{ matrix.python-version }}
# - name: Conda info
# shell: bash -l {0}
# run: conda info
# - name: Test pip installation with all stable dependencies
# shell: bash -l {0}
# run: |
# cd misc
# . ./stable_pip_install.sh
# - name: Unittests
# shell: bash -l {0}
# run: |
# cd tests
# . ./run_unit_tests.sh
loose_installation:
name: Test loose pip installation on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions tests/run_unit_tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
conda activate alphadia
python -m unittest unit_tests/test_cli
python -m unittest unit_tests/test_gui
python -m unittest unit_tests/test_extraction
python -m unittest unit_tests/test_cli.py
python -m unittest unit_tests/test_gui.py
python -m unittest unit_tests/test_extraction.py
conda deactivate

0 comments on commit 3484acd

Please sign in to comment.