From 523736f102ba2e5c96ff022a92f548e9ceec3d21 Mon Sep 17 00:00:00 2001 From: Robbi Bishop-Taylor Date: Tue, 27 Feb 2024 13:34:32 +1100 Subject: [PATCH 1/2] Update ignored paths for tests --- .github/workflows/test_notebooks.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_notebooks.yml b/.github/workflows/test_notebooks.yml index 045d60f09..42c71286a 100644 --- a/.github/workflows/test_notebooks.yml +++ b/.github/workflows/test_notebooks.yml @@ -5,13 +5,19 @@ on: push: branches: [ develop, stable, nbtests ] paths-ignore: - - '**/*.md' # ignore markdown files + - 'README.md' # ignore readme + - 'DEA_Sandbox.ipynb' # ignore landing page + - 'DEA_notebooks_template.ipynb' # ignore template + - '**/*.md' # ignore markdown files in nested folders - '**/*.rst' # ignore restructured text files - '.github/**' # ignore anything in .github folder - '!.github/workflows/test_notebooks.yml' # except test_notebooks.yml pull_request: branches: [ develop, stable ] paths-ignore: + - 'README.md' + - 'DEA_Sandbox.ipynb' + - 'DEA_notebooks_template.ipynb' - '**/*.md' - '**/*.rst' - '.github/**' From 7422e8eb134fbf9d7749e9bbce641e48e2068d1a Mon Sep 17 00:00:00 2001 From: Robbi Bishop-Taylor Date: Tue, 27 Feb 2024 13:38:24 +1100 Subject: [PATCH 2/2] Simplify --- .github/workflows/test_notebooks.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_notebooks.yml b/.github/workflows/test_notebooks.yml index 42c71286a..bb80f3550 100644 --- a/.github/workflows/test_notebooks.yml +++ b/.github/workflows/test_notebooks.yml @@ -5,21 +5,19 @@ on: push: branches: [ develop, stable, nbtests ] paths-ignore: - - 'README.md' # ignore readme - 'DEA_Sandbox.ipynb' # ignore landing page - 'DEA_notebooks_template.ipynb' # ignore template - - '**/*.md' # ignore markdown files in nested folders - - '**/*.rst' # ignore restructured text files + - '*.md' # ignore all markdown files + - '*.rst' # ignore all restructured text files - '.github/**' # ignore anything in .github folder - '!.github/workflows/test_notebooks.yml' # except test_notebooks.yml pull_request: branches: [ develop, stable ] paths-ignore: - - 'README.md' - 'DEA_Sandbox.ipynb' - 'DEA_notebooks_template.ipynb' - - '**/*.md' - - '**/*.rst' + - '*.md' + - '*.rst' - '.github/**' - '!.github/workflows/test_notebooks.yml'