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

Fix CI #760

Closed
mikemhenry opened this issue Feb 1, 2021 · 4 comments
Closed

Fix CI #760

mikemhenry opened this issue Feb 1, 2021 · 4 comments
Labels
priority: medium priority medium tests Unit tests

Comments

@mikemhenry
Copy link
Contributor

Working on getting CI to pass, looks like it is do to an import for openforcefield failing, which may be due to this PR

openforcefield/openff-toolkit#803

@jchodera
Copy link
Member

jchodera commented Feb 2, 2021

@mikemhenry : We should upgrade the CI to GitHub Actions after updating to the new MolSSI Cookiecutter.

I'd reach out to @jaimergp to have him give you pointers on this process the first time if you haven't done either a Cookiecutter upgrade or a GitHub Actions update.

Let's also start tagging issues with their assignees, labels, and eventually milestones/projects. Perhaps you can come up with a labeling scheme that would make some sense?

Let me know if you need any repo or org permissions!

@jaimergp
Copy link
Member

jaimergp commented Feb 2, 2021

This repo was already migrated to GH Actions (see here). There might be some PRs opened that predate that contribution, so they'd need a rebase in that case. The openforcefield migration is surely a cause of failures. Check this for instructions: openforcefield/openff-toolkit#819

@mikemhenry
Copy link
Contributor Author

Something I didn't quite understand (but I have figured it now when switching over to pytest) is that on our CI we skip tets marked with @skipIf(running_on_github_actions) and @attr('advanced') so while things are passing, we have tests that fail but were not caught by CI. I found these when running the tests locally since I was not on GitHub actions and I just used pytest -v to run the tests. I believe that many of the tests that fail locally likely just need to be updated and have fallen behind as the API has changed.

This also explains why CI takes 20 minutes but when running all tests it took 3 hours!

@jaimergp
Copy link
Member

I think those were too resource intensive to be run on Travis (where the limit was 1h), and I just converted those skipIf directly without reconsidering a "promotion".

Or maybe some might need a GPU too. 🤷

@mikemhenry mikemhenry added the priority: medium priority medium label May 12, 2021
@jchodera jchodera added the tests Unit tests label May 17, 2021
@jchodera jchodera added this to the 0.9.1 Bugfix release milestone May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium priority medium tests Unit tests
Projects
None yet
Development

No branches or pull requests

3 participants