From b3b3ecde2d198e8848df87de8736ece132a5a5f7 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 24 Apr 2024 18:34:57 +0000 Subject: [PATCH] you may only define one of `paths` and `paths-ignore` for a single event --- .github/workflows/tests_lgpu_cpp.yml | 13 +++++++++---- .github/workflows/tests_lgpumpi_cpp.yml | 16 ++++++++++------ .github/workflows/tests_linux_cpp.yml | 16 +++++++++++----- .github/workflows/tests_lkcuda_cpp.yml | 13 +++++++++---- 4 files changed, 39 insertions(+), 19 deletions(-) diff --git a/.github/workflows/tests_lgpu_cpp.yml b/.github/workflows/tests_lgpu_cpp.yml index 7726d89140..495fa8a555 100644 --- a/.github/workflows/tests_lgpu_cpp.yml +++ b/.github/workflows/tests_lgpu_cpp.yml @@ -14,10 +14,15 @@ on: pull_request: paths: - .github/workflows/tests_lgpu_cpp.yml - - pennylane_lightning/core/src/** - paths-ignore: - - pennylane_lightning/core/src/simulators/lightning_kokkos/** - - pennylane_lightning/core/src/simulators/lightning_qubit/** + - pennylane_lightning/core/src/* + - pennylane_lightning/core/src/algorithms/** + - pennylane_lightning/core/src/bindings/** + - pennylane_lightning/core/src/gates/** + - pennylane_lightning/core/src/measurements/** + - pennylane_lightning/core/src/observables/** + - pennylane_lightning/core/src/simulators/base/** + - pennylane_lightning/core/src/simulators/lightning_gpu/** + - pennylane_lightning/core/src/utils push: branches: - master diff --git a/.github/workflows/tests_lgpumpi_cpp.yml b/.github/workflows/tests_lgpumpi_cpp.yml index 5343c08072..5c4ed1c764 100644 --- a/.github/workflows/tests_lgpumpi_cpp.yml +++ b/.github/workflows/tests_lgpumpi_cpp.yml @@ -15,12 +15,16 @@ on: branches: - main pull_request: - paths: - - .github/workflows/tests_lgpumpi_cpp.yml - - pennylane_lightning/core/src/** - paths-ignore: - - pennylane_lightning/core/src/simulators/lightning_kokkos/** - - pennylane_lightning/core/src/simulators/lightning_qubit/** + - .github/workflows/tests_lgpumpi_cpp.yml + - pennylane_lightning/core/src/* + - pennylane_lightning/core/src/algorithms/** + - pennylane_lightning/core/src/bindings/** + - pennylane_lightning/core/src/gates/** + - pennylane_lightning/core/src/measurements/** + - pennylane_lightning/core/src/observables/** + - pennylane_lightning/core/src/simulators/base/** + - pennylane_lightning/core/src/simulators/lightning_gpu/** + - pennylane_lightning/core/src/utils env: COVERAGE_FLAGS: "--cov=pennylane_lightning --cov-report=term-missing --cov-report=xml:./coverage.xml --no-flaky-report -p no:warnings --tb=native" GCC_VERSION: 11 diff --git a/.github/workflows/tests_linux_cpp.yml b/.github/workflows/tests_linux_cpp.yml index 726b75af34..a5462012ca 100644 --- a/.github/workflows/tests_linux_cpp.yml +++ b/.github/workflows/tests_linux_cpp.yml @@ -11,11 +11,17 @@ on: required: true description: The version of PennyLane to use. Valid values are either 'release' (most recent release candidate), 'stable' (most recent git-tag) or 'latest' (most recent commit from master) pull_request: - paths: - - .github/workflows/tests_linux_cpp.yml - - pennylane_lightning/core/src/** - paths-ignore: - - pennylane_lightning/core/src/simulators/lightning_gpu/** + - .github/workflows/tests_linux_cpp.yml + - pennylane_lightning/core/src/* + - pennylane_lightning/core/src/algorithms/** + - pennylane_lightning/core/src/bindings/** + - pennylane_lightning/core/src/gates/** + - pennylane_lightning/core/src/measurements/** + - pennylane_lightning/core/src/observables/** + - pennylane_lightning/core/src/simulators/base/** + - pennylane_lightning/core/src/simulators/lightning_kokkos/** + - pennylane_lightning/core/src/simulators/lightning_qubit/** + - pennylane_lightning/core/src/utils push: branches: - master diff --git a/.github/workflows/tests_lkcuda_cpp.yml b/.github/workflows/tests_lkcuda_cpp.yml index 4df919a504..8378a9883c 100644 --- a/.github/workflows/tests_lkcuda_cpp.yml +++ b/.github/workflows/tests_lkcuda_cpp.yml @@ -13,10 +13,15 @@ on: pull_request: paths: - .github/workflows/tests_lkcuda_cpp.yml - - pennylane_lightning/core/src/** - paths-ignore: - - pennylane_lightning/core/src/simulators/lightning_gpu/** - - pennylane_lightning/core/src/simulators/lightning_qubit/** + - pennylane_lightning/core/src/* + - pennylane_lightning/core/src/algorithms/** + - pennylane_lightning/core/src/bindings/** + - pennylane_lightning/core/src/gates/** + - pennylane_lightning/core/src/measurements/** + - pennylane_lightning/core/src/observables/** + - pennylane_lightning/core/src/simulators/base/** + - pennylane_lightning/core/src/simulators/lightning_kokkos/** + - pennylane_lightning/core/src/utils push: branches: - master