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

Add test reshare e2e to ci on release #1304

Merged
merged 5 commits into from
Feb 20, 2025
Merged

Conversation

JesseAbram
Copy link
Member

@JesseAbram JesseAbram commented Feb 18, 2025

Closes #1270

Adds the e2e test to the release check pipeline

@JesseAbram JesseAbram marked this pull request as ready for review February 18, 2025 18:04
Copy link
Contributor

@ameba23 ameba23 left a comment

Choose a reason for hiding this comment

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

Great to have this in.

One nitpick: we could put this at the beginning of the main release pipeline so that the release will only get built if this passes.

Can we try this out by tagging this with test/release/test-release-workflow?


jobs:
test-e2e-reshare:
runs-on: ubuntu-latest
Copy link
Contributor

Choose a reason for hiding this comment

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

Just in case you are not aware - ubuntu-latest will give us a standard github runner. Our other tests run on core-build-runner which has much better specs. This might be needed to do a release build - i think the standard runners only have like 14gb storage.

- test/**release/**
schedule:
# Build the default branch weekly. Our version of "nightly."
- cron: 55 4 * * 0 # Every Sunday at 4:55 AM.
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand what the schedule is for

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree, I think this should be removed if this is running as its own action. If this gets added to our main release pipeline, per peg's comment, the schedule in that yaml file should remain.

Copy link
Member Author

Choose a reason for hiding this comment

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

yup sounds good, was just following the other release convention

Copy link
Contributor

@cooldracula cooldracula left a comment

Choose a reason for hiding this comment

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

It looks good. One ask: can we rename the file to test-reshare-e2e.yaml?

- test/**release/**
schedule:
# Build the default branch weekly. Our version of "nightly."
- cron: 55 4 * * 0 # Every Sunday at 4:55 AM.
Copy link
Contributor

Choose a reason for hiding this comment

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

Agree, I think this should be removed if this is running as its own action. If this gets added to our main release pipeline, per peg's comment, the schedule in that yaml file should remain.

@@ -5,9 +5,6 @@ tagged as the final release.

## Pre-Prep
- [ ] Inform relevant parties that you're preparing a release (e.g, by posting on Discord)
- [ ] Manually run e2e reshare test
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be useful to update this to mention the tests are running as part of our pipeline, or that the tests are release blocking, if you go with Peg's good advice?

Copy link
Contributor

@ameba23 ameba23 left a comment

Choose a reason for hiding this comment

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

🥇

run: |
pushd node
cargo build --release --features=reshare-test
cargo test -p entropy-tss --release -- --test_reshare_e2e
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this not be:

Suggested change
cargo test -p entropy-tss --release -- --test_reshare_e2e
cargo test -p entropy-tss --release test_reshare_e2e

Copy link
Member Author

Choose a reason for hiding this comment

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

both work but also looks like I need to add --features=reshare-test

@JesseAbram
Copy link
Member Author

About to delete the release pipeline but can confirm it is tested and works https://github.com/entropyxyz/entropy-core/actions/runs/13417074322/job/37480419216

@JesseAbram JesseAbram merged commit 466ae34 into master Feb 20, 2025
8 checks passed
@JesseAbram JesseAbram deleted the test-reshare-e2e-on-release branch February 20, 2025 01:41
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.

Add test_reshare_e2e to CI
3 participants