jmriesen / rust-RSM

Educational/portfolio project where I rewrite the Reference Standard M interpreter in rust.
0 stars 0 forks source link

Add mutation testing github action #10

Open jmriesen opened 1 month ago

jmriesen commented 1 month ago

Look into adding mutation testing as part of github actions.

Mutation testing is slow, but I think it should be fast enough if I only run it on pull requests into main and only on the files that have changed.

jmriesen commented 1 month ago

here is the command that will run mutants on all files that are different then main. cargo mutants $(git diff --name-only main | awk '{print "-f "$0}')

jmriesen commented 3 days ago

Reopening since I need to make rust changes before confirming the workflow works correctly.

This should be closed after the next rust changes are merged. (assuming everything works)