Skip to content

[pre-commit.ci] pre-commit autoupdate (#577) #772

[pre-commit.ci] pre-commit autoupdate (#577)

[pre-commit.ci] pre-commit autoupdate (#577) #772

Workflow file for this run

name: Docker Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.type }}
cancel-in-progress: true
jobs:
latest:
runs-on: ubuntu-22.04
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker compose build worker
- name: System info
run: docker run mne-tools/mne-nirs python -c "import mne; mne.sys_info()"
- name: MNE-NIRS info
run: docker run mne-tools/mne-nirs python -c "import mne_nirs; print(mne_nirs.__version__)"
- name: Run visualisation test
run: docker run -v `pwd`:/opt/app/examples mne-tools/mne-nirs ipython /opt/app/examples/.github/workflows/docker_tests.py