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 MacOS Pipeline: Include tests not in subdirectories #797

Merged
merged 5 commits into from Oct 5, 2023

Conversation

AdamGleave
Copy link
Member

@AdamGleave AdamGleave commented Oct 4, 2023

Description

Previously the MacOS pipeline was only running in tests that were in subdirectories of tests/. This is because the glob was not quoted, so was being expanded by the shell (which did not properly parse **) rather than the CircleCI script

Testing

Before: https://app.circleci.com/pipelines/github/HumanCompatibleAI/imitation/3888/workflows/a8c06177-af9f-4ec2-9bba-2e384f3d35c3/jobs/15718/parallel-runs/0/steps/0-109 -- observe all tests are in subdirectories
After: https://app.circleci.com/pipelines/github/HumanCompatibleAI/imitation/3925/workflows/88a81adc-aa48-4f1f-86cb-d8833171316a/jobs/15952/parallel-runs/0/steps/0-109 -- observe tests include those directly in tests such as tests/test_examples.py

@AdamGleave AdamGleave mentioned this pull request Oct 4, 2023
@AdamGleave
Copy link
Member Author

The Mac CI is red but this is because notebook tests that were previously being skipped are in fact failing.

At least some of the notebook tests seem cross-platform, so I suggest we review this PR first and consider merging it to get the CI functional, then address fixing the issues the now-functional CI is picking up in separate PRs.

Copy link
Collaborator

@ernestum ernestum left a comment

Choose a reason for hiding this comment

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

LGTM

From the error message it looks like #792 (which has been moved to #779) would fix the mac pipeline again. So we should make sure to rebase #779 after me merged this into master.

@AdamGleave
Copy link
Member Author

Only tests failing are related to 8a_train_sqil_sac, so merging -- these should get fixed in #800

@AdamGleave AdamGleave merged commit cd76326 into master Oct 5, 2023
5 of 9 checks passed
@AdamGleave AdamGleave deleted the AdamGleave/fix-mac-pipeline branch October 5, 2023 02:34
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.

None yet

2 participants