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

Split tests. #944

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Split tests. #944

merged 1 commit into from
Jan 26, 2024

Conversation

chriseth
Copy link
Member

No description provided.

@pacheco pacheco self-requested a review January 24, 2024 11:33
- name: Create artifact archive
run: tar czf target.tar.gz target
- name: Upload build artifacts
uses: actions/upload-artifact@v2
Copy link
Collaborator

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
Copy link
Collaborator

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?

Copy link
Member Author

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?

Copy link
Collaborator

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
Copy link
Collaborator

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.

@chriseth chriseth force-pushed the split_tests branch 3 times, most recently from 3e8dcc4 to 4543c96 Compare January 24, 2024 12:06
with:
submodules: recursive
- name: Download build artifacts
uses: actions/download-artifact@v2
Copy link
Collaborator

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.

@chriseth chriseth added this pull request to the merge queue Jan 26, 2024
Merged via the queue into main with commit de6cec7 Jan 26, 2024
5 checks passed
@chriseth chriseth deleted the split_tests branch January 26, 2024 11:09
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.

2 participants