Skip to content

Commit 4176e32

Browse files
authored
👷⬆️ update MQT workflows to v1.7 (#812)
## Description This small PR updates the MQT workflows to version 1.7, which includes some fixes for CD jobs that were overlooked in v1.6 ## Checklist: <!--- This checklist serves as a reminder of a couple of things that ensure your pull request will be merged swiftly. --> - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines. Signed-off-by: burgholzer <[email protected]>
1 parent 90717b4 commit 4176e32

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,11 @@ permissions:
1111

1212
jobs:
1313
# Builds the sdist and wheels on all supported platforms and uploads the resulting
14-
# wheels as GitHub artifacts `dev-cibw-*`, `test-cibw-*`, or `cibw-*`, depending on
15-
# whether the workflow is triggered from a PR, a push to main, or a release, respectively.
14+
# wheels as GitHub artifacts `dev-cibw-*` or `cibw-*`, depending on whether the
15+
# workflow is triggered from a PR or a release, respectively.
1616
python-packaging:
1717
name: 🐍 Packaging
18-
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
19-
with:
20-
# Do not include local version information on pushes to main to facilitate TestPyPI uploads.
21-
no-local-version: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
22-
# Do not build emulated wheels for mqt-core to avoid issues with PyPI space limitations.
23-
build-emulated-wheels: false
18+
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
2419

2520
# Downloads the previously generated artifacts and deploys to PyPI on published releases.
2621
deploy:

.github/workflows/ci.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ concurrency:
1414
jobs:
1515
change-detection:
1616
name: 🔍 Change
17-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.6
17+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.7
1818

1919
cpp-tests:
2020
name: 🇨‌ Test
2121
needs: change-detection
2222
if: fromJSON(needs.change-detection.outputs.run-cpp-tests)
23-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.6
23+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.7
2424
with:
2525
# Runs to enable
2626
enable-ubuntu2404-gcc-release: true
@@ -68,7 +68,7 @@ jobs:
6868
name: 🇨‌ Test (Extensive)
6969
needs: change-detection
7070
if: fromJSON(needs.change-detection.outputs.run-cpp-tests) && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'extensive-cpp-ci')
71-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.6
71+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.7
7272
with:
7373
# Runs to enable
7474
enable-ubuntu2404-gcc-debug: true
@@ -115,21 +115,21 @@ jobs:
115115
name: 🇨‌ Coverage
116116
needs: change-detection
117117
if: fromJSON(needs.change-detection.outputs.run-cpp-tests)
118-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-coverage.yml@v1.6
118+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-coverage.yml@v1.7
119119

120120
cpp-linter:
121121
name: 🇨‌ Lint
122122
needs: change-detection
123123
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)
124-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.6
124+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.7
125125
with:
126126
cmake-args: -DBUILD_MQT_CORE_BENCHMARKS=ON
127127

128128
python-tests:
129129
name: 🐍 Test
130130
needs: change-detection
131131
if: fromJSON(needs.change-detection.outputs.run-python-tests)
132-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.6
132+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.7
133133
with:
134134
# Runs to enable
135135
enable-ubuntu2404: true
@@ -148,7 +148,7 @@ jobs:
148148
name: 🐍 Test (Extensive)
149149
needs: change-detection
150150
if: fromJSON(needs.change-detection.outputs.run-python-tests) && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'extensive-python-ci')
151-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.6
151+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.7
152152
with:
153153
# Runs to enable
154154
enable-ubuntu2204: true
@@ -166,22 +166,19 @@ jobs:
166166
name: 🐍 Lint
167167
needs: change-detection
168168
if: fromJSON(needs.change-detection.outputs.run-python-tests)
169-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-linter.yml@v1.6
169+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-linter.yml@v1.7
170170

171171
code-ql:
172172
name: 📝 CodeQL
173173
needs: change-detection
174174
if: fromJSON(needs.change-detection.outputs.run-code-ql)
175-
uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.6
175+
uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.7
176176

177177
cd:
178178
name: 🚀 CD
179179
needs: change-detection
180180
if: fromJSON(needs.change-detection.outputs.run-cd)
181-
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
182-
with:
183-
# Do not build emulated wheels for mqt-core to avoid issues with PyPI space limitations.
184-
build-emulated-wheels: false
181+
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
185182

186183
required-checks-pass: # This job does nothing and is only used for branch protection
187184
name: 🚦 Check

0 commit comments

Comments
 (0)