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

Replace doctest runner by pytest in ci #36981

Draft
wants to merge 55 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
5fc47b2
Run pytest in conda ci
tobiasdiez Dec 29, 2023
a1f88a4
Fix missing feature import errors in SageDoctestModule
tobiasdiez Dec 29, 2023
af6959c
Skip when module not found error is raised during collection
tobiasdiez Dec 29, 2023
36eea75
Fix pytest command in build and ci-conda workflows
tobiasdiez Dec 29, 2023
bdfe4d8
Update pytest options in build and ci-conda workflows to show summary…
tobiasdiez Dec 29, 2023
fd809d9
Add rich output backend for doctest
tobiasdiez Dec 29, 2023
86defa1
Replace _get_runner with SageDocTestRunner in conftest.py
tobiasdiez Dec 29, 2023
8a6995e
Update pytest command to include verbose output
tobiasdiez Dec 29, 2023
bf6ac0d
Add pytest-github-actions-annotate-failures to test dependencies
tobiasdiez Dec 29, 2023
6c6582f
Only use sage spoofer if output file is specified
tobiasdiez Dec 30, 2023
96f9e58
Always run pytest
tobiasdiez Dec 30, 2023
038695a
Fix start_spoofing and stop_spoofing calls in SageDocTestRunner
tobiasdiez Dec 30, 2023
490146f
Refactor exception printing to use short names instead of Sage's hack…
tobiasdiez Dec 30, 2023
a94a678
add missing imports
tobiasdiez Dec 30, 2023
1c6fa26
Add imports to conftest.py
tobiasdiez Dec 30, 2023
ad7a14b
revert changes to forker
tobiasdiez Dec 30, 2023
6a77fd7
Fix a few display errors
tobiasdiez Dec 30, 2023
4d3f882
Merge branch 'develop' into pytest_replace_doctest
tobiasdiez Feb 11, 2024
2666c6b
Merge branch 'develop' into pytest_replace_doctest
tobiasdiez Feb 25, 2024
fb70abe
Merge branch 'develop' into pytest_replace_doctest
tobiasdiez Oct 30, 2024
8f8ff88
Run tests using pytest in meson workflow
tobiasdiez Oct 30, 2024
30a3af5
Merge branch 'develop' into pytest_replace_doctest
tobiasdiez Nov 18, 2024
ba98646
Merge branch 'develop' into pytest_replace_doctest
tobiasdiez Nov 29, 2024
4779f6c
Fix errors
tobiasdiez Nov 30, 2024
90af29a
Clarify todo
tobiasdiez Dec 11, 2024
749202e
Merge branch 'develop' into pytest_replace_doctest
tobiasdiez Dec 11, 2024
d8ddedc
Fix meson run
tobiasdiez Dec 11, 2024
f86f833
Fix deprecation warning capturing by printing to stdout by default
tobiasdiez Dec 11, 2024
c4210dd
Add missing variables to global namespace
tobiasdiez Dec 11, 2024
afb6cf9
Exclude test file
tobiasdiez Dec 11, 2024
9c231a9
Ignore more optional/executable files
tobiasdiez Dec 12, 2024
74520cb
Run tests in isolation
tobiasdiez Dec 12, 2024
6f9861f
Fix a few r-strings
tobiasdiez Dec 13, 2024
a3845f6
Fix exception printing also in isolated mode
tobiasdiez Dec 13, 2024
c781ad8
Ignore import errors also on meson
tobiasdiez Dec 13, 2024
ddba82f
Rename methods prefixed with `test_` for pytest compatibility
tobiasdiez Dec 16, 2024
678142d
Set globals in pytests
tobiasdiez Dec 16, 2024
942db44
Add more r-string
tobiasdiez Dec 16, 2024
bd7ce3c
More renames
tobiasdiez Dec 16, 2024
92b162e
Merge remote-tracking branch 'upstream/develop' into pytest_replace_d…
tobiasdiez Dec 16, 2024
31472b9
Reset name
tobiasdiez Dec 16, 2024
a016921
fix test -> dummy
tobiasdiez Dec 16, 2024
f69ec04
Try to fix CI
tobiasdiez Dec 16, 2024
df6293f
Add _make_named_class_key for FilteredModulesCategory
user202729 Dec 18, 2024
c6b3b55
Fix a few things
user202729 Dec 19, 2024
c14e958
Fix tests
user202729 Dec 19, 2024
775e4bb
Merge branch 'pr/user202729/39160' into pytest_replace_doctest
tobiasdiez Dec 20, 2024
3e2b0ee
No longer run isolated
tobiasdiez Dec 20, 2024
13e9c3e
Exclude more problematic files
tobiasdiez Dec 20, 2024
83bf9aa
Move bitness check to doctest parser/output checker
tobiasdiez Dec 21, 2024
366925f
Move pytest config to root
tobiasdiez Dec 21, 2024
0d29653
Merge remote-tracking branch 'upstream/develop' into pytest_replace_d…
tobiasdiez Jan 4, 2025
9e45489
Merge remote-tracking branch 'upstream/develop' into pytest_replace_d…
tobiasdiez Feb 28, 2025
0a0c767
Merge remote-tracking branch 'upstream/develop' into pytest_replace_d…
tobiasdiez Mar 7, 2025
88eed5e
Merge branch 'develop' into pytest_replace_doctest
tobiasdiez Mar 13, 2025
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
Prev Previous commit
Next Next commit
Merge branch 'develop' into pytest_replace_doctest
tobiasdiez authored Feb 25, 2024
commit 2666c6be8811cd3203c16b942a9127db999519d6

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.