Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use pytest markers for intensive tests #12764

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

Merged
merged 5 commits into from
Apr 22, 2022
Merged

Conversation

saimn
Copy link
Contributor

@saimn saimn commented Jan 21, 2022

DO NOT MERGE until tmp commit is removed.

Closes #12350. Depends on:

Checklist for package maintainer(s)

This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.

  • Do the proposed changes actually accomplish desired goals?
  • Do the proposed changes follow the Astropy coding guidelines?
  • Are tests added/updated as required? If so, do they follow the Astropy testing guidelines?
  • Are docs added/updated as required? If so, do they follow the Astropy documentation guidelines?
  • Is rebase and/or squash necessary? If so, please provide the author with appropriate instructions. Also see "When to rebase and squash commits".
  • Did the CI pass? If no, are the failures related? If you need to run daily and weekly cron jobs as part of the PR, please apply the Extra CI label.
  • Is a change log needed? If yes, did the change log check pass? If no, add the no-changelog-entry-needed label. If this is a manual backport, use the skip-changelog-checks label unless special changelog handling is necessary.
  • Is a milestone set? Milestone must be set but astropy-bot check might be missing; do not let the green checkmark fool you.
  • At the time of adding the milestone, if the milestone set requires a backport to release branch(es), apply the appropriate backport-X.Y.x label(s) before merge.

@pllim

This comment has been minimized.

@pllim
Copy link
Member

pllim commented Feb 10, 2022

astropy/pytest-astropy#48 is merged but I am not sure if you need a pytest-astropy release first or you plan to develop this PR based on its dev version and only release when it is proven to work. Please let me know. Thanks!

@saimn
Copy link
Contributor Author

saimn commented Feb 15, 2022

Yes we need a pytest-astropy release. It's already working with the dev version in this PR (I modified the 3.10 build to run only the slow tests, I should update that before merging).

@saimn saimn force-pushed the intensive-tests branch from 0b4d908 to 526b9be Compare April 12, 2022 19:45
@saimn saimn marked this pull request as ready for review April 12, 2022 19:46
@saimn saimn force-pushed the intensive-tests branch from 799e6e2 to e7e1a0c Compare April 12, 2022 20:27
@nstarman
Copy link
Member

@saimn, what's the status of this PR, given the imminent feature freeze?

@saimn
Copy link
Contributor Author

saimn commented Apr 20, 2022

The PR is ready. I marked the tests taking more than ~5 sec as slow, so those are now run only in 2 builds.

@pllim
Copy link
Member

pllim commented Apr 20, 2022

@saimn , can you please rebase to pick up CI fixes and then I will slap the Extra CI label on this, just to be sure? Thanks!

@saimn saimn force-pushed the intensive-tests branch from e7e1a0c to 46c63ba Compare April 20, 2022 13:13
@pllim pllim added the Extra CI Run cron CI as part of PR label Apr 21, 2022
@pllim
Copy link
Member

pllim commented Apr 21, 2022

@saimn , do you know why this broke pyinstaller?

@pllim
Copy link
Member

pllim commented Apr 21, 2022

Maybe you have to declare it here?

plugins=['pytest_doctestplus.plugin',

@saimn saimn force-pushed the intensive-tests branch from 46c63ba to 53e91c1 Compare April 21, 2022 18:06
@saimn
Copy link
Contributor Author

saimn commented Apr 21, 2022

Maybe you have to declare it here?

Let's see if that works (thanks for finding it !).

@pllim

This comment was marked as resolved.

@saimn saimn force-pushed the intensive-tests branch from 03f2018 to 5e48db6 Compare April 22, 2022 08:11
@saimn
Copy link
Contributor Author

saimn commented Apr 22, 2022

@pllim - Squashed some of the commits.

@pllim
Copy link
Member

pllim commented Apr 22, 2022

@saimn , not sure how much you care about git credit but the last 3 commits not registered officially to your GitHub account. Do you want to fix that before merge?

Copy link
Member

@pllim pllim left a comment

Choose a reason for hiding this comment

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

Just have one last question about git commit credit (see above), but otherwise this is good to go. Thanks!

@saimn
Copy link
Contributor Author

saimn commented Apr 22, 2022

@pllim - No it's fine, I guess I just need to add this email to my Github account (but thanks for noticing :)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants