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

Saffron e2e tests in CI #2957

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Saffron e2e tests in CI #2957

merged 2 commits into from
Jan 22, 2025

Conversation

martyall
Copy link
Contributor

@martyall martyall commented Jan 21, 2025

Add CI for saffron e2e test (bash scripts using the CLI)

@martyall martyall changed the title added e2e test for encoding/decode to ci Saffron e2e tests in CI Jan 21, 2025
@martyall martyall marked this pull request as ready for review January 21, 2025 21:30
@@ -1,3 +1 @@
proptest-regressions
fixtures/lorem.bin
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just modified the test script to delete these files if the test passes.

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.53%. Comparing base (0a67e96) to head (228e998).
Report is 49 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2957      +/-   ##
==========================================
- Coverage   76.58%   76.53%   -0.05%     
==========================================
  Files         255      258       +3     
  Lines       61034    61160     +126     
==========================================
+ Hits        46741    46807      +66     
- Misses      14293    14353      +60     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


- name: Run the saffron e2e encoding tests
run: |
./saffron/test-encoding.sh saffron/fixtures/lorem.txt
Copy link
Member

Choose a reason for hiding this comment

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

You're building in release mode above, but the script doesn't use the release flag. Therefore, the command above is useless.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤦‍♂️

Copy link
Member

@dannywillems dannywillems left a comment

Choose a reason for hiding this comment

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

LGTM for the shell, with a small change requested. I can enforce the job in the CI after it has been merged.

@martyall martyall requested a review from dannywillems January 22, 2025 15:55
@martyall martyall merged commit c057de0 into master Jan 22, 2025
12 of 13 checks passed
@martyall martyall deleted the add-saffron-ci branch January 22, 2025 17:39
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