Skip to content

update pull request action t master branch #1

update pull request action t master branch

update pull request action t master branch #1

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@v3
- 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
pytest -sxv test_*.py