Fix typo of "softwares" #321
Workflow file for this run
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: CI | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: ['3.12', '3.11', '3.10', '3.9', '3.8'] | |
fail-fast: false | |
steps: | |
- name: Install Apptainer | |
env: | |
VERSION: 1.1.5 | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y wget | |
wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer_${VERSION}_amd64.deb | |
wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer-suid_${VERSION}_amd64.deb | |
sudo apt-get install --yes ./apptainer* | |
- name: Set Apptainer/Singularity environment variables | |
run: | | |
# Give reproenv the full path to apptainer, so it still works with `sudo`. | |
echo REPROENV_APPTAINER_PROGRAM=apptainer >> $GITHUB_ENV | |
echo APPTAINER_CACHEDIR=/dev/shm/$(whoami)/singularity >> $GITHUB_ENV | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install neurodocker | |
run: python -m pip install --editable .[dev] | |
- name: Run python tests | |
run: pytest --numprocesses auto | |
- name: Get code coverage | |
run: codecov |