ENH: Bump GitHub Actions versions #54
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: "test-notebooks" | |
on: [push, pull_request] | |
env: | |
aind-ccf-alignment-experiments-tag: 756e846d08b07fcffbc3c387216a59a9fa563fd6 | |
jobs: | |
pytest: | |
name: "Test Jupyter Notebooks with PyTest" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Update pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Setup Graphviz | |
uses: ts-graphviz/setup-graphviz@v1 | |
- name: "Install Dependencies Not Available on PyPI" | |
shell: bash | |
run: | | |
git clone https://github.com/AllenNeuralDynamics/aind-ccf-alignment-experiments.git | |
pushd aind-ccf-alignment-experiments | |
git checkout ${{ env.aind-ccf-alignment-experiments-tag }} | |
python -m pip install . | |
- name: "Install Dependencies with Flit" | |
shell: bash | |
run: | | |
python -m pip install flit | |
pushd src | |
flit install --extras all | |
- name: "Run Tests" | |
shell: bash | |
run: | | |
pytest --nbmake --nbmake-timeout=30000 examples/*.ipynb -vvv -s -k "not LightsheetRegistration.ipynb" |