initial draft of new TD-fNIRS KF2 example #801
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: 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 |