Change link to the Python Tutorials to LeapFROGS #117
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: Run nbmake for the main Branch | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout files in repo | |
uses: actions/checkout@v3 | |
- name: Setup Miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: pyleo | |
environment-file: environment.yml | |
python-version: "3.10" | |
auto-activate-base: false | |
- name: Conda list | |
run: | | |
conda activate pyleo | |
pip install pytest-xdist nbmake | |
pip install pandas --upgrade | |
conda list | |
- name: Test with pytest | |
run: | | |
conda activate pyleo | |
pytest --nbmake -k 'not correlations' -n=auto --nbmake-timeout=3200 notebooks/*ipynb |