Skip to content

Commit

Permalink
you may only define one of paths and paths-ignore for a single event
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentmr committed Apr 24, 2024
1 parent 07446cc commit b3b3ecd
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 19 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/tests_lgpu_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/tests_lgpumpi_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/tests_linux_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/tests_lkcuda_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3b3ecd

Please sign in to comment.