From 786d7fc03c591939672f1fb4c1fa86ae497ada7c Mon Sep 17 00:00:00 2001 From: Klimenty Tsoutsman Date: Tue, 24 Oct 2023 13:18:11 +1100 Subject: [PATCH] Modify QEMU test workflow to ignore certain paths The workflow won't run if the changes only include the following paths: - 'book/**' - 'c_test/**' - 'docker/**' - 'github_pages/**' - 'old_crates/**' - 'scripts/**' - '.gitignore' - 'LICENSE-MIT' - 'README.md' - 'bochsrc.txt' - 'rustfmt.toml' - 'slirp.conf' I'd rather be conservative with the list of paths to exclude because if any of the paths inadvertently affect the CI run, that could lead to weird problems. Signed-off-by: Klimenty Tsoutsman --- .github/workflows/test.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b2e2f638f1..b292ddcacc 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -2,6 +2,19 @@ name: QEMU Test on: pull_request: types: [synchronize, opened, reopened] + paths-ignore: + - 'book/**' + - 'c_test/**' + - 'docker/**' + - 'github_pages/**' + - 'old_crates/**' + - 'scripts/**' + - '.gitignore' + - 'LICENSE-MIT' + - 'README.md' + - 'bochsrc.txt' + - 'rustfmt.toml' + - 'slirp.conf' jobs: run-tests: runs-on: ubuntu-latest