Skip to content

Replace 'unset -f' with 'unsetenv' in module templates #116

Replace 'unset -f' with 'unsetenv' in module templates

Replace 'unset -f' with 'unsetenv' in module templates #116

Workflow file for this run

name: shpc test core

Check failure on line 1 in .github/workflows/test-core.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-core.yml

Invalid workflow file

(Line: 4, Col: 17): A sequence was not expected
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