Skip to content

Commit

Permalink
🧱 switched to different CI workflow source and filter warnings (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
nquetschlich authored May 24, 2024
1 parent f8e3159 commit 4aaa682
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
python-packaging:
name: 🐍 Packaging
uses: cda-tum/mqt-core/.github/workflows/reusable-python-packaging.yml@v2.4.2
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.0.0
with:
pure-python: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ concurrency:
jobs:
change-detection:
name: 🔍 Change
uses: cda-tum/mqt-core/.github/workflows/reusable-change-detection.yml@v2.4.2
uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.0.0

python-tests:
name: 🐍 Test
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-python-tests)
uses: cda-tum/mqt-core/.github/workflows/reusable-python-ci.yml@v2.4.2
uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.0.0
secrets:
token: ${{ secrets.CODECOV_TOKEN }}

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

required-checks-pass: # This job does nothing and is only used for branch protection
name: 🚦 Check
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ filterwarnings = [
"ignore:.*invalid value encountered in det.*:RuntimeWarning:",
"ignore::DeprecationWarning:.*(docplex).*",
"ignore::SyntaxWarning:.*(docplex).*",
"ignore:.*The abstract Provider and ProviderV1 classes are deprecated.*:DeprecationWarning:qiskit.*",
]

[tool.coverage]
Expand Down

0 comments on commit 4aaa682

Please sign in to comment.