Skip to content

Commit

Permalink
test run example notebooks (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz authored Sep 6, 2024
1 parent 741aacf commit addd3cb
Show file tree
Hide file tree
Showing 4 changed files with 791 additions and 842 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,48 @@ jobs:
- name: Upload to Codecov
uses: codecov/codecov-action@v4

test_notebooks:
name: "Test Notebooks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.12"

- name: Set up poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install

- name: Set up poetry
uses: snok/install-poetry@v1

- name: Install
run: poetry install --without docs
- name: set numba parallel flags
run: |
echo "NUMBA_NUM_THREADS=1" >> $GITHUB_ENV
- name: Setup r2u
uses: eddelbuettel/github-actions/r2u-setup@master

- name: install R packages
run: Rscript -e 'install.packages(c("fixest", "broom", "did2s", "clubSandwich", "wildrwolf", "ivDiag"))'
shell: bash

- name: Install TeXlive
run: sudo apt-get update && sudo apt-get install texlive texlive-publishers texlive-science latexmk cm-super

- name: Run notebooks
run: |
poetry install --with docs
poetry run python scripts/run_notebooks.py
build-docs:
name: "Build Docs"
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit addd3cb

Please sign in to comment.