-
Notifications
You must be signed in to change notification settings - Fork 97
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
Split tests. #944
Split tests. #944
Conversation
.github/workflows/pr-tests.yml
Outdated
- name: Create artifact archive | ||
run: tar czf target.tar.gz target | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v2 |
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.
upload-artifact
seems to have a compression-level
option, so the archive step above could be omitted.
I think compression-level: 9
is the highest compression level.
Actually, it seems that by default it already uses level 6.
with: | ||
submodules: recursive | ||
- name: Download build artifacts | ||
uses: actions/download-artifact@v2 |
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.
These artifacts last only for the workflow duration?
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.
Yes - is there a better way in this case?
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.
No, its good like this, I was just wondering if we would hit space issues if not.
@@ -65,9 +64,71 @@ jobs: | |||
~/.cargo/git | |||
target | |||
key: ${{ runner.os }}-cargo-pr-tests-${{ hashFiles('**/Cargo.toml') }} | |||
|
|||
test_quick: | |||
needs: build |
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.
Should test_quick
and test_slow
also run after the merge to main?
If not, we could add if: github.ref != 'refs/heads/main'
here and on the test_slow
section.
3e8dcc4
to
4543c96
Compare
with: | ||
submodules: recursive | ||
- name: Download build artifacts | ||
uses: actions/download-artifact@v2 |
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.
No, its good like this, I was just wondering if we would hit space issues if not.
No description provided.