Skip to content

Docstedoctest warning only demo 2 - #4

Open
nhuet wants to merge 12 commits into
mainfrom
docstedoctest-warning-only-demo-2
Open

Docstedoctest warning only demo 2#4
nhuet wants to merge 12 commits into
mainfrom
docstedoctest-warning-only-demo-2

Conversation

@nhuet

@nhuet nhuet commented Jul 17, 2026

Copy link
Copy Markdown
Owner

No description provided.

@nhuet
nhuet force-pushed the docstedoctest-warning-only-demo-2 branch from eefa5a9 to ab060c0 Compare July 21, 2026 10:15
nhuet added 3 commits July 21, 2026 14:56
- The doctest step always will be shown as successful.
- Pytest output is still kept to be looked upon in doctest step.
- Errors in doctest will be displayed as warnings in workflow summary.
- A job summary is generated to have proper links to code and log (as
  default warnings links from github are not very meaningful)

Some notes
- step name is not available from within it => we need to pass it as an
  env variable
- job name as generated per the matrix is not available from within the
  step, only th job id => we generate the name ourself and duplicate the
  generation in a env variable
- we need the step number inside the job (number created during the job,
  taking into account preparation steps added by github) => we need to
  make agithub api request to find it, given the job name and the step
  name
- prune workflow of some steps/jobs
- create errors in docstrings
@nhuet
nhuet force-pushed the docstedoctest-warning-only-demo-2 branch from ab060c0 to b6e5050 Compare July 21, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant