Skip to content

Update dependency hydra-zen to v0.12.1 #18

Update dependency hydra-zen to v0.12.1

Update dependency hydra-zen to v0.12.1 #18

name: On pull request workflows requiring the CNeuroMax image
on:
pull_request:
branches: [main]
jobs:
on-pr-with-image:
runs-on: self-hosted
steps:
- name: Checkout the GitHub repo
uses: actions/checkout@v4
- name: Build the tentative CNeuroMax image
run: podman build -t cneuromod/cneuromax:test -f Dockerfile .
- name: Build the documentation
run: >
podman run --rm -v $PWD:/cneuromax -w /cneuromax
cneuromod/cneuromax:test
sphinx-build -b html ./docs/ ./docs/build/
- name: Run mypy
run: >
podman run --rm -v $PWD:/cneuromax -w /cneuromax
cneuromod/cneuromax:test
mypy --config-file=pyproject.toml cneuromax
- name: Run pytest
run: >
podman run --rm -v $PWD:/cneuromax -w /cneuromax
cneuromod/cneuromax:test
pytest --cov cneuromax