-
Notifications
You must be signed in to change notification settings - Fork 130
fix nightly.yaml #867
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 nightly.yaml #867
Conversation
the default Linux github-hosted runner has 2 GPU, 7GB memory and 14 GB storage. |
Push nightly job runs all tests. Two tests fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally looks good to me -- think the test failures are on main so that's expected
.github/workflows/nightly.yaml
Outdated
@@ -22,7 +23,7 @@ jobs: | |||
pip install -e .[dev] | |||
pip install twine | |||
- name: Run tests | |||
run: python -m unittest discover --verbose --start-directory . --pattern "*_test.py" | |||
run: pytest --verbose -o python_files="*_test.py" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The filter isn't necessary I don't think
Our main python tests just call pytest
:
run: pytest --cov=./ --cov-report=xml |
.github/workflows/nightly.yaml
Outdated
@@ -4,15 +4,16 @@ on: | |||
# run every day at 11:15am | |||
schedule: | |||
- cron: '15 11 * * *' | |||
pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove before landing
Looks like nightly push runs still fail? Latest nightly release is from 2024.2.12 Believe |
Test plan: