From 1a78f6623fb5f8ec8c87638b95b74a3de40610a8 Mon Sep 17 00:00:00 2001 From: Elmer Bulthuis Date: Wed, 8 Nov 2023 09:48:37 +0100 Subject: [PATCH] test only when path changed (#5) leverage github action's feature to test only when something relevant changed --- .github/workflows/{test-net.yml => test-goodrouter-net.yml} | 3 +++ .github/workflows/{test-rs.yml => test-goodrouter-rs.yml} | 3 +++ .github/workflows/{test-ts.yml => test-goodrouter-ts.yml} | 3 +++ 3 files changed, 9 insertions(+) rename .github/workflows/{test-net.yml => test-goodrouter-net.yml} (87%) rename .github/workflows/{test-rs.yml => test-goodrouter-rs.yml} (94%) rename .github/workflows/{test-ts.yml => test-goodrouter-ts.yml} (91%) diff --git a/.github/workflows/test-net.yml b/.github/workflows/test-goodrouter-net.yml similarity index 87% rename from .github/workflows/test-net.yml rename to .github/workflows/test-goodrouter-net.yml index b14a262..5383c15 100644 --- a/.github/workflows/test-net.yml +++ b/.github/workflows/test-goodrouter-net.yml @@ -2,6 +2,9 @@ on: push: branches: - "*" + paths: + - fixtures/** + - goodrouter-net/** jobs: test-spec: diff --git a/.github/workflows/test-rs.yml b/.github/workflows/test-goodrouter-rs.yml similarity index 94% rename from .github/workflows/test-rs.yml rename to .github/workflows/test-goodrouter-rs.yml index 8535403..2c685be 100644 --- a/.github/workflows/test-rs.yml +++ b/.github/workflows/test-goodrouter-rs.yml @@ -2,6 +2,9 @@ on: push: branches: - "*" + paths: + - fixtures/** + - goodrouter-rs/** jobs: test-unit: diff --git a/.github/workflows/test-ts.yml b/.github/workflows/test-goodrouter-ts.yml similarity index 91% rename from .github/workflows/test-ts.yml rename to .github/workflows/test-goodrouter-ts.yml index f178b4a..9d4ebe7 100644 --- a/.github/workflows/test-ts.yml +++ b/.github/workflows/test-goodrouter-ts.yml @@ -2,6 +2,9 @@ on: push: branches: - "*" + paths: + - fixtures/** + - goodrouter-ts/** jobs: test-unit: