Ausbeth upgrade #6
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
name: shpc test core | |
on: | |
pull_request: [] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Singularity install with defaults | |
uses: singularityhub/install-singularity@main | |
- name: Create conda environment | |
run: conda create --quiet -c conda-forge --name shpc spython | |
- uses: actions/checkout@v4 | |
- name: Install shpc | |
run: | | |
export PATH="/usr/share/miniconda/bin:$PATH" | |
source activate shpc | |
pip install -e .[all] | |
- name: Run python module tests (bash) | |
shell: bash | |
run: | | |
export PATH="/usr/share/miniconda/bin:$PATH" | |
source activate shpc | |
which shpc | |
cd shpc/tests | |
export GITHUB_CI=yes | |
pytest -sxv test_*.py |