-
Notifications
You must be signed in to change notification settings - Fork 662
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
Mutation testing - logger tracking missing/timeout/unviable tests #4179
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
8370213
feat: mutation testing initial integration
ASuciuX 06d68b2
Merge branch 'develop' into test/cargo-mutants-testing
ASuciuX 1c5a75c
fix: made functions discoverable to be mutants
ASuciuX 19f56ea
feat: added mutants output before fix clarity package
ASuciuX a3caebb
feat: added mutants output after fix clarity package
ASuciuX e41e89a
Update mutants-testing-general.sh
ASuciuX b1649a3
feat: renamed mod to lib.rs
ASuciuX 32aa967
Delete Dockerfile.mutation-testing as it is also run locally with cargo
ASuciuX 92b4e23
feat: modular mutations on shell
ASuciuX 5387f44
feat: restructure mutants to new CI workflows
ASuciuX 0bf76dd
feat: update link to stacks action repo
ASuciuX 9616e07
Merge branch 'develop' into test/cargo-mutants-testing
ASuciuX 53cc9c4
feat: keep only logger workflow file
ASuciuX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Logging Mutants | ||
|
||
# only run on push in order to update the cache output | ||
# flow: | ||
# restore cache | ||
# install cargo-mutants crate in order to run the 'cargo mutants' command | ||
# create a file with the current commit hash if a previous one doesn't exist, then print it | ||
# run the script that handles the 'cargo mutants' command on the differences between the latest updates and the last commit where it was ran | ||
# overwrite the previous commit hash with the current one for the following run | ||
# delete the old cache | ||
# save the new cache with the updated mutants | ||
# upload artifact to easily check it for the given commit | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- next | ||
|
||
jobs: | ||
save_cache: | ||
runs-on: ubuntu-latest | ||
|
||
# test | ||
steps: | ||
- name: Run logging mutants from actions | ||
uses: stacks-network/actions/mutation-testing/logger@feat/mutation-testing | ||
with: | ||
gh-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this workflow doesn't seem to exist on this branch (or in main). is that something that needs to be re-added?
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.
I'd recommend merging the
feat/mutation-testing
branch into stacks-network/actions first, so you don't have to make another PR changing/removing the branch name laterThere 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.
Also, I can't find the
logger
action eitherThere 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.
i expect this PR will be changing quite a bit as we've just started testing this. i'm converting this to draft for now
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, i will be updating it these days, wanted to have the
PR-differences
fully finished asap. this one will have to wait till we have all the mutants from the general sync before being merged