Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix: compatibility workflows #699

Merged
merged 8 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
### Breaking changes

* Add `paths` directives to test workflows to avoid running tests that cannot be impacted by changes.
[(#699)](https://github.com/PennyLaneAI/pennylane-lightning/pull/699)
[(#695)](https://github.com/PennyLaneAI/pennylane-lightning/pull/695)

* Move common components of `/src/simulator/lightning_gpu/utils/` to `/src/utils/cuda_utils/`.
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/build_and_cache_Kokkos_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ on:
description: "Kokkos version"
value: ${{ jobs.linux-set-builder-matrix.outputs.kokkos_version }}

concurrency:
group: build_and_cache_Kokkos_linux-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

mlxd marked this conversation as resolved.
Show resolved Hide resolved
jobs:
linux-set-builder-matrix:
name: Set Kokkos builder matrix
Expand Down
45 changes: 5 additions & 40 deletions .github/workflows/compat-check-latest-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,72 +6,37 @@ on:
workflow_dispatch:

jobs:
tests_lgpu_cpp:
name: Lightning Compatibility test (tests_lgpu_cpp) - latest/latest
uses: ./.github/workflows/lgpu_cpp.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
tests_lgpumpi_cpp:
name: Lightning Compatibility test (tests_lgpumpi_cpp) - latest/latest
uses: ./.github/workflows/lgpumpi_cpp.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
tests_linux_cpp:
name: Lightning Compatibility test (tests_linux_cpp) - latest/latest
uses: ./.github/workflows/linux_cpp.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
tests_lkcuda_cpp:
name: Lightning Compatibility test (tests_lkcuda_cpp) - latest/latest
uses: ./.github/workflows/lkcuda_cpp.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
tests_windows_cpp:
name: Lightning Compatibility test (tests_windows_cpp) - latest/latest
uses: ./.github/workflows/windows_cpp.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
mlxd marked this conversation as resolved.
Show resolved Hide resolved
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - latest/latest
uses: ./.github/workflows/lgpu_python.yml
uses: ./.github/workflows/tests_lgpu_python.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
tests_lgpumpi_python:
name: Lightning Compatibility test (tests_lgpumpi_python) - latest/latest
uses: ./.github/workflows/lgpumpi_python.yml
uses: ./.github/workflows/tests_lgpumpi_python.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
tests_linux_python:
name: Lightning Compatibility test (tests_linux_python) - latest/latest
uses: ./.github/workflows/linux_python.yml
uses: ./.github/workflows/tests_linux_python.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
tests_lkcuda_python:
name: Lightning Compatibility test (tests_lkcuda_python) - latest/latest
uses: ./.github/workflows/lkcuda_python.yml
uses: ./.github/workflows/tests_lkcuda_python.yml
with:
lightning-version: latest
pennylane-version: latest
secrets: inherit
tests_without_binary:
name: Lightning Compatibility test (tests_without_binary) - latest/latest
uses: ./.github/workflows/without_binary.yml
uses: ./.github/workflows/tests_without_binary.yml
with:
lightning-version: latest
pennylane-version: latest
Expand Down
45 changes: 5 additions & 40 deletions .github/workflows/compat-check-latest-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,72 +6,37 @@ on:
workflow_dispatch:

jobs:
tests_lgpu_cpp:
name: Lightning Compatibility test (tests_lgpu_cpp) - latest/stable
uses: ./.github/workflows/lgpu_cpp.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_lgpumpi_cpp:
name: Lightning Compatibility test (tests_lgpumpi_cpp) - latest/stable
uses: ./.github/workflows/lgpumpi_cpp.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_linux_cpp:
name: Lightning Compatibility test (tests_linux_cpp) - latest/stable
uses: ./.github/workflows/linux_cpp.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_lkcuda_cpp:
name: Lightning Compatibility test (tests_lkcuda_cpp) - latest/stable
uses: ./.github/workflows/lkcuda_cpp.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_windows_cpp:
name: Lightning Compatibility test (tests_windows_cpp) - latest/stable
uses: ./.github/workflows/windows_cpp.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - latest/stable
uses: ./.github/workflows/lgpu_python.yml
uses: ./.github/workflows/tests_lgpu_python.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_lgpumpi_python:
name: Lightning Compatibility test (tests_lgpumpi_python) - latest/stable
uses: ./.github/workflows/lgpumpi_python.yml
uses: ./.github/workflows/tests_lgpumpi_python.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_linux_python:
name: Lightning Compatibility test (tests_linux_python) - latest/stable
uses: ./.github/workflows/linux_python.yml
uses: ./.github/workflows/tests_linux_python.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_lkcuda_python:
name: Lightning Compatibility test (tests_lkcuda_python) - latest/stable
uses: ./.github/workflows/lkcuda_python.yml
uses: ./.github/workflows/tests_lkcuda_python.yml
with:
lightning-version: latest
pennylane-version: stable
secrets: inherit
tests_without_binary:
name: Lightning Compatibility test (tests_without_binary) - latest/stable
uses: ./.github/workflows/without_binary.yml
uses: ./.github/workflows/tests_without_binary.yml
with:
lightning-version: latest
pennylane-version: stable
Expand Down
45 changes: 5 additions & 40 deletions .github/workflows/compat-check-release-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,72 +6,37 @@ on:
workflow_dispatch:

jobs:
tests_lgpu_cpp:
name: Lightning Compatibility test (tests_lgpu_cpp) - release/release
uses: ./.github/workflows/lgpu_cpp.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_lgpumpi_cpp:
name: Lightning Compatibility test (tests_lgpumpi_cpp) - release/release
uses: ./.github/workflows/lgpumpi_cpp.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_linux_cpp:
name: Lightning Compatibility test (tests_linux_cpp) - release/release
uses: ./.github/workflows/linux_cpp.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_lkcuda_cpp:
name: Lightning Compatibility test (tests_lkcuda_cpp) - release/release
uses: ./.github/workflows/lkcuda_cpp.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_windows_cpp:
name: Lightning Compatibility test (tests_windows_cpp) - release/release
uses: ./.github/workflows/windows_cpp.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - release/release
uses: ./.github/workflows/lgpu_python.yml
uses: ./.github/workflows/tests_lgpu_python.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_lgpumpi_python:
name: Lightning Compatibility test (tests_lgpumpi_python) - release/release
uses: ./.github/workflows/lgpumpi_python.yml
uses: ./.github/workflows/tests_lgpumpi_python.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_linux_python:
name: Lightning Compatibility test (tests_linux_python) - release/release
uses: ./.github/workflows/linux_python.yml
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
uses: ./.github/workflows/tests_linux_python.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_lkcuda_python:
name: Lightning Compatibility test (tests_lkcuda_python) - release/release
uses: ./.github/workflows/lkcuda_python.yml
uses: ./.github/workflows/tests_lkcuda_python.yml
with:
lightning-version: release
pennylane-version: release
secrets: inherit
tests_without_binary:
name: Lightning Compatibility test (tests_without_binary) - release/release
uses: ./.github/workflows/without_binary.yml
uses: ./.github/workflows/tests_without_binary.yml
with:
lightning-version: release
pennylane-version: release
Expand Down
45 changes: 5 additions & 40 deletions .github/workflows/compat-check-stable-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,72 +6,37 @@ on:
workflow_dispatch:

jobs:
tests_lgpu_cpp:
name: Lightning Compatibility test (tests_lgpu_cpp) - stable/latest
uses: ./.github/workflows/lgpu_cpp.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_lgpumpi_cpp:
name: Lightning Compatibility test (tests_lgpumpi_cpp) - stable/latest
uses: ./.github/workflows/lgpumpi_cpp.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_linux_cpp:
name: Lightning Compatibility test (tests_linux_cpp) - stable/latest
uses: ./.github/workflows/linux_cpp.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_lkcuda_cpp:
name: Lightning Compatibility test (tests_lkcuda_cpp) - stable/latest
uses: ./.github/workflows/lkcuda_cpp.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_windows_cpp:
name: Lightning Compatibility test (tests_windows_cpp) - stable/latest
uses: ./.github/workflows/windows_cpp.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - stable/latest
uses: ./.github/workflows/lgpu_python.yml
uses: ./.github/workflows/tests_lgpu_python.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_lgpumpi_python:
name: Lightning Compatibility test (tests_lgpumpi_python) - stable/latest
uses: ./.github/workflows/lgpumpi_python.yml
uses: ./.github/workflows/tests_lgpumpi_python.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_linux_python:
name: Lightning Compatibility test (tests_linux_python) - stable/latest
uses: ./.github/workflows/linux_python.yml
uses: ./.github/workflows/tests_linux_python.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_lkcuda_python:
name: Lightning Compatibility test (tests_lkcuda_python) - stable/latest
uses: ./.github/workflows/lkcuda_python.yml
uses: ./.github/workflows/tests_lkcuda_python.yml
with:
lightning-version: stable
pennylane-version: latest
secrets: inherit
tests_without_binary:
name: Lightning Compatibility test (tests_without_binary) - stable/latest
uses: ./.github/workflows/without_binary.yml
uses: ./.github/workflows/tests_without_binary.yml
with:
lightning-version: stable
pennylane-version: latest
Expand Down
Loading
Loading