-
-
Notifications
You must be signed in to change notification settings - Fork 706
Test that everything can be imported during ci #36591
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
Changes from all commits
efdb215
7d9b2a1
78b42b8
33b54d8
41bbc1c
259e1a6
e84cb91
a6d727c
2b565d6
3d77ad1
f051ae1
97a2548
cc3792f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -172,11 +172,23 @@ jobs: | |
| MAKE: make -j2 --output-sync=recurse | ||
| SAGE_NUM_THREADS: 2 | ||
|
|
||
| - name: Check that all modules can be imported | ||
| run: | | ||
| # The following command checks that all modules can be imported. | ||
| # The output also includes a long list of modules together with the number of tests in each module. | ||
| # This can be ignored. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the output intended? Do you use this information? Or should everyone ignore it?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's safe to ignore (but pytest doesn't support a way to hide it)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fine. I assume that you mean that you also do not use this information. We'll iterate the cosmetics in follow-up PRs. |
||
| ../sage -python -m pip install pytest-xdist | ||
| ../sage -python -m pytest -c tox.ini -qq --doctest --collect-only || true | ||
| working-directory: ./worktree-image/src | ||
| env: | ||
| # Increase the length of the lines in the "short summary" | ||
| COLUMNS: 120 | ||
|
|
||
| - name: Pytest | ||
| if: contains(github.ref, 'pytest') | ||
| run: | | ||
| ../sage -python -m pip install coverage pytest-xdist | ||
| ../sage -python -m coverage run -m pytest -c tox.ini --doctest-modules || true | ||
| ../sage -python -m coverage run -m pytest -c tox.ini --doctest || true | ||
| working-directory: ./worktree-image/src | ||
| env: | ||
| # Increase the length of the lines in the "short summary" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.