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

ci: add pytest-pretty plugin, register custom marks #2798

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

martinkim0
Copy link
Contributor

@martinkim0 martinkim0 commented May 15, 2024

as suggested on the pytest-pretty documentation, adds an env variable COLUMNS set to 120 that displays wider outputs for pytest, making it easier to visualize error messages.

also explicitly registers our custom pytest marks on the pyproject so that there are no warnings on collection.

@martinkim0 martinkim0 added the on-merge: backport to 1.2.x on-merge: backport to 1.2.x label May 15, 2024
@martinkim0 martinkim0 merged commit bc51cfa into main May 15, 2024
13 of 16 checks passed
@martinkim0 martinkim0 deleted the tests-plugins branch May 15, 2024 18:21
meeseeksmachine pushed a commit to meeseeksmachine/scvi-tools that referenced this pull request May 15, 2024
martinkim0 added a commit that referenced this pull request May 15, 2024
…ster custom marks) (#2799)

Backport PR #2798: ci: add pytest-pretty plugin, register custom marks

Co-authored-by: Martin Kim <46072231+martinkim0@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-merge: backport to 1.2.x on-merge: backport to 1.2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant