Skip to content

Commit

Permalink
Make sure we generate the parameters before testing
Browse files Browse the repository at this point in the history
Without this, if there are changes between the base and new code,
the params module may be in an inconsistent state.
  • Loading branch information
bbockelm committed Oct 5, 2023
1 parent e4ab2c1 commit a9f9b43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
HEAD=$(git rev-parse HEAD)
git reset --hard ${{ github.event.pull_request.base.sha }}
make web-build
go generate ./...
go test -coverpkg=./... -coverprofile=base_coverage.out -covermode=count ./...
go tool cover -func=base_coverage.out > unit-base.txt
git reset --hard $HEAD
Expand Down

0 comments on commit a9f9b43

Please sign in to comment.