Skip to content
Open
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
5582631
Add GitHub Actions workflow for Qrisp unit tests
NedislavKolev Jun 26, 2026
59491df
Update push triggers in python13.yml
NedislavKolev Jun 29, 2026
3915b30
Add GitHub Actions workflow for Qrisp unit tests
NedislavKolev Jun 29, 2026
43af38e
Enhance Windows testing configurations in CI
NedislavKolev Jun 29, 2026
0361e72
Update pyscf dependency condition for non-Windows
NedislavKolev Jun 29, 2026
e542519
Update pytest flags in multiple environments workflow
NedislavKolev Jun 29, 2026
575b74c
Update pytest flags in multiple environments workflow
NedislavKolev Jun 29, 2026
a37ece0
Update dev-testing configuration in pyproject.toml
NedislavKolev Jun 29, 2026
8e5c637
Update pip-extras for Windows environments
NedislavKolev Jun 29, 2026
3ca7f34
Fix formatting in pyproject.toml for dev-testing
NedislavKolev Jun 29, 2026
4fd3965
Delete .github/workflows/python13.yml
NedislavKolev Jun 29, 2026
860e9f1
Delete .github/workflows/multiple_enviroments.yml
NedislavKolev Jun 29, 2026
50bda05
Enhance GitHub Actions for multi-OS testing
NedislavKolev Jun 29, 2026
2bf06f7
Remove unnecessary whitespace in pyproject.toml
NedislavKolev Jun 29, 2026
86993af
Add GitHub Actions workflow for Qrisp unit tests
NedislavKolev Jun 30, 2026
e25f8a8
Fix test group naming and paths in workflow
NedislavKolev Jun 30, 2026
fd0bc28
Add multiple_enviroments branch to workflow triggers
NedislavKolev Jun 30, 2026
a7c0fef
Refactor GitHub Actions workflow for multi-environment testing
NedislavKolev Jun 30, 2026
4a82dbb
Delete .github/workflows/multi.yml
NedislavKolev Jun 30, 2026
1a2fbd6
Refactor GitHub Actions workflow for multiple environments
NedislavKolev Jun 30, 2026
f471ac7
Update push triggers in qrisp_test.yml
NedislavKolev Jun 30, 2026
c9ac6ed
Fix typo in dev_windows section of pyproject.toml
NedislavKolev Jul 1, 2026
713b74a
Remove empty line in dev-testing section
NedislavKolev Jul 1, 2026
67fcd82
Update getting_started.rst for Windows compatibility
NedislavKolev Jul 6, 2026
eff534b
Update GitHub Actions workflow for multiple environments and add supp…
NedislavKolev Aug 28, 2026
704e862
Update workflow name for cross-platform testing
NedislavKolev Aug 28, 2026
bb5fdba
Fix typo in branch name for workflow
NedislavKolev Aug 28, 2026
df19447
Merge remote-tracking branch 'upstream/main' into multiple_enviroments
NedislavKolev Aug 28, 2026
78ce8b6
Refactor development dependencies for Windows environment support
NedislavKolev Aug 28, 2026
2160e6c
Fix missing newline at end of file in multi.yml
NedislavKolev Sep 3, 2026
6d450af
Merge remote-tracking branch 'origin/windows_documentation' into mult…
NedislavKolev Sep 3, 2026
1f9af15
Update development dependencies in getting_started.rst for Windows co…
NedislavKolev Sep 3, 2026
f7e816e
Merge branch 'eclipse-qrisp:main' into multiple_enviroments
NedislavKolev Sep 3, 2026
9d52d86
Update getting_started.rst to clarify installation of optional depend…
NedislavKolev Sep 3, 2026
e8c2f8f
Merge branch 'multiple_enviroments' of https://github.com/NedislavKol…
NedislavKolev Sep 3, 2026
7a5f728
Remove pull request triggers from workflow configuration
NedislavKolev Sep 4, 2026
e191d2d
Add changelog for pr
NedislavKolev Sep 4, 2026
192eeff
Merge branch 'eclipse-qrisp:main' into multiple_enviroments
NedislavKolev Sep 7, 2026
3ec9c9c
revert qrisp_test.yml to run the tests only on Ubuntu
NedislavKolev Sep 7, 2026
e0a43e8
update changelog to reference PR #697 for macOS and Windows CI test w…
NedislavKolev Sep 7, 2026
0259462
remove 'multiple_enviroments' branch from push trigger in workflow
NedislavKolev Sep 9, 2026
81aca70
Merge branch 'eclipse-qrisp:main' into multiple_enviroments
NedislavKolev Sep 10, 2026
63f3a40
Refactor GitHub Actions workflow configuration
NedislavKolev Sep 10, 2026
8c05465
Merge branch 'main' into multiple_enviroments
NedislavKolev Oct 5, 2026
45942a8
Merge branch 'main' into multiple_enviroments
purva-thakre Oct 5, 2026
7e81240
Merge branch 'main' into multiple_enviroments
NedislavKolev Nov 12, 2026
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
45 changes: 34 additions & 11 deletions .github/workflows/qrisp_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,43 @@ concurrency:

jobs:
build:
name: Test Py${{ matrix.python-version }} (${{ matrix.test-group.name }})
runs-on: ubuntu-latest
name: Test Py${{ matrix.python-version }} on ${{ matrix.os }} (${{ matrix.test-group-name }})
runs-on: ${{ matrix.os }}
timeout-minutes: 120
strategy:
fail-fast: false
matrix:
# Actual dimensions that need to be multiplied out
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11.*", "3.12.*"]
test-group:
- name: core
paths: "tests/circuit_tests tests/core_tests tests/primitives_tests tests/jax_tests tests/test_typing.py"
- name: algorithms-and-integrations
paths: "tests/algorithms_tests tests/operators_tests tests/block_encodings_tests tests/interface_tests tests/stim_integration_tests"
test-group-name: [core, algorithms-and-integrations]

steps:
include:
# Map paths to test groups globally
- test-group-name: core
test-group-paths: "tests/circuit_tests tests/core_tests tests/primitives_tests tests/jax_tests tests/test_typing.py"
- test-group-name: algorithms-and-integrations
test-group-paths: "tests/algorithms_tests tests/operators_tests tests/block_encodings_tests tests/interface_tests tests/stim_integration_tests"

# Assign pip-extras based on OS type
- os: ubuntu-latest
pip-extras: "[dev,catalyst,xdsl,iqm]"
- os: macos-latest
pip-extras: "[dev,catalyst,xdsl,iqm]"
- os: windows-latest
pip-extras: "[dev-windows,xdsl,iqm]"

@purva-thakre purva-thakre Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not too sure if dev-windows is correct here? In the toml file, the group you defined is dev_windows. I am mostly confused why the CI did not raise an error here. maybe I am missing something here 😅

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, this is because of name normalization...will correct it

- All underscores (_) and periods (.) are replaced with hyphens (-).

- All characters are converted to lowercase.


# Inject specific pytest flags for Windows test groups
- os: windows-latest
test-group-name: core
# Exclude tests that are not supported on Windows due to platform-specific issues
pytest-flags: '-k "not test_catalyst_interface and not test_qubit_array_fusion"'
- os: windows-latest
# Exclude tests that are not supported on Windows due to platform-specific issues
test-group-name: algorithms-and-integrations
pytest-flags: '--ignore=tests/interface_tests/test_converter_qrisp_to_qml.py'

steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
Expand All @@ -42,7 +65,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev,catalyst,xdsl,iqm]"
- name: Test with pytest (${{ matrix.test-group.name }})
pip install -e ".${{ matrix.pip-extras }}"
- name: Test with pytest (${{ matrix.test-group-name }})
run: |
pytest ${{ matrix.test-group.paths }}
pytest ${{ matrix.test-group-paths }} ${{ matrix.pytest-flags }}
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,22 @@ docs = [
dev-code-style = [
"ruff",
]
dev-testing = [
dev-testing-windows = [
"pytest==9.1.0",
"qiskit-aer",
"pyscf",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simply curious: is pyscf incompatible with windows?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is, alongside catalyst.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know! Should we think about documenting this in the readme and the development guide as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can see, there is no documentation about installing Qrisp in a Windows environment, so I think this is a great suggestion. We can discuss it in the software engineering meeting.

"cirq",
"tqecd",
]
dev-testing = [
"qrisp[dev-testing-windows]",
"pyscf",
]
dev = [
"qrisp[dev-code-style,dev-testing]",
]
dev-windows = [
"qrisp[dev-code-style, dev-testing-windows]",
]

[project.urls]
Homepage = "https://github.com/eclipse-qrisp/Qrisp"
Expand Down
Loading