Skip to content

Add codespell (config, precommit, workflow) and make it fix typos #78

Add codespell (config, precommit, workflow) and make it fix typos

Add codespell (config, precommit, workflow) and make it fix typos #78

Workflow file for this run

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