Skip to content

Update main.yml

Update main.yml #18

Workflow file for this run

on: push
name: Reproducibility Check
jobs:
render:
name: execute notebook
runs-on: arc-runner-espm157-f24 # ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11.9'
- name: Install Dependencies
run: pip install -r requirements.txt
- name: test
run: |
echo "machine urs.earthdata.nasa.gov login earthaccess password EDL_test1" > ~/.netrc
rm -f github-login.ipynb # exclude login from testing
pytest --nbval-lax *.ipynb
# - name: render
# run: myst build climate.md --pdf