From defb54a85ecc0a818352fae2c63d9ab562a719e4 Mon Sep 17 00:00:00 2001 From: Philipp Holl Date: Sun, 12 May 2024 18:30:17 +0200 Subject: [PATCH] [ci] Disable unit tests, update doc --- .github/workflows/unit-tests.yml | 34 --------------------------- .github/workflows/update-gh-pages.yml | 5 ++-- 2 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 .github/workflows/unit-tests.yml diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml deleted file mode 100644 index 1bd3db277..000000000 --- a/.github/workflows/unit-tests.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Tests - -on: [push, workflow_dispatch] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ['3.8', '3.11'] - - steps: - - name: Checkout 🛎️ - uses: actions/checkout@v2 - -# - name: Setup ffmpeg -# uses: FedericoCarboni/setup-ffmpeg@v1 -# id: setup-ffmpeg - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install --quiet tensorflow tensorflow-probability torch jax jaxlib scikit-learn plotly nbformat ipython pylint coverage pytest tqdm - pip install . - - - name: Test with pytest - run: | - coverage run -m pytest tests/commit diff --git a/.github/workflows/update-gh-pages.yml b/.github/workflows/update-gh-pages.yml index 8d5be9a39..e7909dfe2 100644 --- a/.github/workflows/update-gh-pages.yml +++ b/.github/workflows/update-gh-pages.yml @@ -34,12 +34,11 @@ jobs: - name: Build static HTML for Jupyter Notebooks run: | - jupyter nbconvert --to html --execute --allow-errors docs/*.ipynb - jupyter nbconvert --to html --output-dir docs/ docs/prerendered/*.ipynb jupyter nbconvert --to html --output-dir examples/grids/ examples/grids/*.ipynb - jupyter nbconvert --to html --output-dir examples/mesh/ examples/mesh/*.ipynb jupyter nbconvert --to html --output-dir examples/optim/ examples/optim/*.ipynb jupyter nbconvert --to html --output-dir examples/particles/ examples/particles/*.ipynb + jupyter nbconvert --to html --output-dir docs/ docs/prerendered/*.ipynb + jupyter nbconvert --to html --execute --allow-errors docs/*.ipynb - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.1.4 # See https://github.com/marketplace/actions/deploy-to-github-pages