From 808bb6339d56529ca6e54c4ab8cba19dd8e869c1 Mon Sep 17 00:00:00 2001 From: Frank <33519926+Conengmo@users.noreply.github.com> Date: Wed, 3 Apr 2024 14:46:29 +0200 Subject: [PATCH] Remove Github actions for example notebooks --- .github/workflows/test_code_notebooks.yml | 27 ------------------- .github/workflows/test_style_notebooks.yml | 30 ---------------------- 2 files changed, 57 deletions(-) delete mode 100644 .github/workflows/test_code_notebooks.yml delete mode 100644 .github/workflows/test_style_notebooks.yml diff --git a/.github/workflows/test_code_notebooks.yml b/.github/workflows/test_code_notebooks.yml deleted file mode 100644 index 577ff7b4da..0000000000 --- a/.github/workflows/test_code_notebooks.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Notebook Code Tests - -on: [push, pull_request] - -jobs: - run: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Setup Micromamba env - uses: mamba-org/setup-micromamba@v1 - with: - environment-name: TEST - create-args: >- - python=3 - --file requirements.txt - --file requirements-dev.txt - - - name: Install folium from source - shell: bash -l {0} - run: python -m pip install -e . --no-deps --force-reinstall - - - name: Notebook tests - shell: bash -l {0} - run: python -m pytest --nbval-lax examples --ignore=examples/WmsTimeDimension.ipynb diff --git a/.github/workflows/test_style_notebooks.yml b/.github/workflows/test_style_notebooks.yml deleted file mode 100644 index b2f3cf1cdc..0000000000 --- a/.github/workflows/test_style_notebooks.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Notebook Style Tests - -on: [push, pull_request] - -jobs: - run: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Setup Micromamba env - uses: mamba-org/setup-micromamba@v1 - with: - environment-name: TEST - create-args: >- - python=3 - --file requirements.txt - --file requirements-dev.txt - - - name: Install folium from source - shell: bash -l {0} - run: python -m pip install -e . --no-deps --force-reinstall - - - name: Notebook coding standards tests - shell: bash -l {0} - run: > - for fname in examples/*.ipynb; - do echo $fname $(flake8-nb $fname --ignore=W391,E226,E402,W504,I100,I201,I202,E703 --max-line-length=120 --show-source --count); - done