From cbdef0479eba33228bf35ddef7b7c2eceda4ec64 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 26 Jan 2021 10:43:52 -0800 Subject: [PATCH] workflows/os_comp: Don't run if there aren't relavent changes --- .github/workflows/os_comp.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/os_comp.yml b/.github/workflows/os_comp.yml index a5be49935..1883588ee 100644 --- a/.github/workflows/os_comp.yml +++ b/.github/workflows/os_comp.yml @@ -6,7 +6,19 @@ on: - master # Stable branches such as 0.56 or the eventual 1.0 - '[0-9]+.[0-9]+' + paths: + - "mesonbuild/**" + - "test cases/**" + - ".github/workflows/images.yml" + - ".github/workflows/os_comp.yml" + - "run_unittests.py" pull_request: + paths: + - "mesonbuild/**" + - "test cases/**" + - ".github/workflows/images.yml" + - ".github/workflows/os_comp.yml" + - "run_unittests.py" jobs: arch: @@ -94,4 +106,4 @@ jobs: update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix - ./run_tests.py $RUN_TESTS_ARGS -- $MESON_ARGS \ No newline at end of file + ./run_tests.py $RUN_TESTS_ARGS -- $MESON_ARGS