Skip to content

Commit

Permalink
⬆️ update MQT workflows version
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Sep 18, 2024
1 parent 1158ddc commit 7539d51
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
jobs:
python-packaging:
name: 🐍 Packaging
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.3
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.4

deploy:
if: github.event_name == 'release' && github.event.action == 'published'
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,35 @@ concurrency:
jobs:
change-detection:
name: 🔍 Change
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.3
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.4

cpp-tests:
name: 🇨‌ Test
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-cpp-tests)
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.3
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.4
with:
cmake-args-macos: -DMQT_CORE_WITH_GMP=ON

cpp-linter:
name: 🇨‌ Lint
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.3
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.4
with:
cmake-args: -DBUILD_MQT_CORE_BENCHMARKS=ON

python-tests:
name: 🐍 Test
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-python-tests)
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.3
with:
skip-testing-latest-python: true
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.4

code-ql:
name: 📝 CodeQL
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-code-ql)
uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.3
uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.4

required-checks-pass: # This job does nothing and is only used for branch protection
name: 🚦 Check
Expand Down
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

nox.options.sessions = ["lint", "tests", "minimums"]

PYTHON_ALL_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
PYTHON_ALL_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]

# The following lists all the build requirements for building the package.
# Note that this includes transitive build dependencies of package dependencies,
Expand Down Expand Up @@ -55,6 +55,7 @@ def _run_tests(
env = {}
if os.environ.get("CI", None) and sys.platform == "win32":
env["CMAKE_GENERATOR"] = "Ninja"
env["SKBUILD_CMAKE_ARGS"] = "--fresh"

if shutil.which("cmake") is None and shutil.which("cmake3") is None:
session.install("cmake")
Expand Down

0 comments on commit 7539d51

Please sign in to comment.