Installing Go MuTesting go workflow #14
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
on: | |
pull_request: | |
push: | |
defaults: | |
run: | |
working-directory: go | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout code | |
- run: go test ./... | |
name: Run tests | |
- run: go get -t -v github.com/avito-tech/go-mutesting/... | |
name: Install Go MuTesting | |
- run: go-mutesting ./... | |
name: Run mutation testing tool | |
# - name: Setup path | |
# run: | | |
# echo "GOPATH=$GITHUB_WORKSPACE/go" >> "$GITHUB_ENV" | |
# echo "$GITHUB_WORKSPACE/go/bin" >> "$GITHUB_PATH" | |
# - name: Install go | |
# with: | |
# go-version-file: go/go.sum | |
# uses: actions/setup-go@v5 | |
# - run: | | |
# go mod tidy | |
# go get -t -v github.com/avito-tech/go-mutesting/... | |
# name: Install dependencies |