From 111bfe7ce879497475dd22dc2033d6074ae6a056 Mon Sep 17 00:00:00 2001 From: Charles T Date: Mon, 18 Oct 2021 14:20:29 +0200 Subject: [PATCH] build: do not run tests when modifying the docs (#217) * build: do not run tests when modifying the docs * build: path-ignore docs modification * style: removing blank line --- .github/workflows/run-test-coverage.yml | 3 +++ .github/workflows/run-test.yml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-test-coverage.yml b/.github/workflows/run-test-coverage.yml index ae0a3ffa..5e63e643 100644 --- a/.github/workflows/run-test-coverage.yml +++ b/.github/workflows/run-test-coverage.yml @@ -13,6 +13,9 @@ on: paths-ignore: - '.pre-commit-config.yaml' - 'docs/**' + - 'images/**' + - '**.md' + - 'mkdocs.yml' jobs: coverage: diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index c8b17590..5350cd89 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -11,6 +11,9 @@ on: paths-ignore: - '.pre-commit-config.yaml' - 'docs/**' + - 'images/**' + - '**.md' + - 'mkdocs.yml' jobs: build: @@ -34,4 +37,4 @@ jobs: python -m pip install .[test] - name: Test with pytest run: | - python -m pytest --no-cov \ No newline at end of file + python -m pytest --no-cov