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

⬆️ update MQT workflows to v1.4 #692

Merged
merged 3 commits into from
Sep 18, 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
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
5 changes: 3 additions & 2 deletions 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 All @@ -27,7 +27,7 @@
# not available via wheels on PyPI (i.e., only as source distributions).
BUILD_REQUIREMENTS = [
"scikit-build-core>=0.10.1",
"setuptools_scm>=8",
"setuptools_scm>=8.1",
"pybind11>=2.13.5",
]

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
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["scikit-build-core>=0.10.1", "setuptools-scm>=8", "pybind11>=2.13.5"]
requires = ["scikit-build-core>=0.10.1", "setuptools-scm>=8.1", "pybind11>=2.13.5"]
build-backend = "scikit_build_core.build"

[project]
Expand Down Expand Up @@ -45,7 +45,7 @@ docs = [
"mqt.core[qiskit,evaluation]",
"myst_nb>=1.1.0",
"qiskit[visualization]",
"setuptools-scm>=8",
"setuptools-scm>=8.1",
"sphinx_design>=0.6",
"sphinx-autoapi>=3",
"sphinx-copybutton>=0.5",
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading