From 09d30cf1a60f9e6edbd741819ab73e64397e7f9e Mon Sep 17 00:00:00 2001 From: Nicolas Duchon Date: Sat, 1 May 2021 22:37:01 +0200 Subject: [PATCH] ci: don't run tests on docs only change --- .github/workflows/test.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cde7ff3..7a7134c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,18 @@ -name: Test +name: Tests -on: [push, pull_request] +on: + push: + paths-ignore: + - 'LICENSE' + - '**.md' + pull_request: + paths-ignore: + - 'LICENSE' + - '**.md' jobs: unit: - name: Unit Test + name: Unit Tests runs-on: ubuntu-latest strategy: @@ -34,4 +42,4 @@ jobs: - name: Run tests run: pytest - working-directory: test \ No newline at end of file + working-directory: test