From 0c9e90ddba91b007224b8f8d413c414af6af51a0 Mon Sep 17 00:00:00 2001 From: pixelshot91 Date: Tue, 17 Oct 2023 23:45:26 +0200 Subject: [PATCH] Update test_suite.yml --- .github/workflows/test_suite.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index 7d02f5a..5099d24 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -21,10 +21,14 @@ jobs: - id: skip_check uses: fkirc/skip-duplicate-actions@v5 with: + paths_filter: | + rust: + paths: 'native/**' paths_ignore: '["README.md", "TODO.md", "doc/**"]' rust_test: needs: pre_job - if: needs.pre_job.outputs.should_skip != 'true' + # Do not run if no files in native/ have been changed since last job run + if: needs.pre_job.outputs.should_skip != 'true' || !fromJSON(needs.pre_job.outputs.paths_result).rust.should_skip runs-on: self-hosted defaults: run: