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

github/workflows: split tests #2724

Closed
wants to merge 3 commits into from
Closed

github/workflows: split tests #2724

wants to merge 3 commits into from

Conversation

gsora
Copy link
Collaborator

@gsora gsora commented Nov 22, 2023

This PR splits Go unit tests from integration, compose and fuzz testing.

PR CI will always run unit tests if said PR contains modifications to Go code.

Integration, compose and fuzz testing will be executed once the PR has been merged on a main branch.

We still run those tests on release branches (those that begin with main-v) because cherry-picking might add incompatibilities.

Also remove notify_failure step, since we're not using Discord anymore.

category: misc
ticket: none

This PR splits Go unit tests from integration, compose and fuzz testing.

PR CI will always run unit tests.

Integration, compose and fuzz testing will be executed once the PR has been merged on a main branch.

We still run those tests on release branches (those that begin with `main-v`) because cherry-picking might add incompatibilities.
@gsora gsora changed the title .github/workflows: split tests github/workflows: split tests Nov 22, 2023
@gsora gsora marked this pull request as draft November 22, 2023 17:10
instead of fiddling with weird github actions params, just run unit
tests always since they're very fast to run anyway
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4fa4f30) 53.36% compared to head (ceaf899) 53.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2724      +/-   ##
==========================================
- Coverage   53.36%   53.23%   -0.14%     
==========================================
  Files         199      199              
  Lines       27397    27397              
==========================================
- Hits        14621    14585      -36     
- Misses      10969    11004      +35     
- Partials     1807     1808       +1     

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

- run integration_tests first
- run compose_tests after integration_tests were successful
- run fuzz_tests after the previous two were successful
Copy link

sonarcloud bot commented Nov 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@xenowits xenowits removed their assignment Jan 12, 2024
@gsora
Copy link
Collaborator Author

gsora commented Jan 24, 2024

Closing, needs some more thinking.

@gsora gsora closed this Jan 24, 2024
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.

3 participants