Skip to content

Commit

Permalink
Add build rule for running integration tests (#1965)
Browse files Browse the repository at this point in the history
## Changes

Make it possible to change what/how we run our integration tests from
within this repository.

## Tests

Integration tests all pass when run with this command.
  • Loading branch information
pietern authored Dec 9, 2024
1 parent 4c10421 commit 227a135
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ vendor:
@echo "✓ Filling vendor folder with library code ..."
@go mod vendor

.PHONY: build vendor coverage test lint fmt
integration:
gotestsum --format github-actions --rerun-fails --jsonfile output.json --packages "./internal/..." -- -run "TestAcc.*" -parallel 4 -timeout=2h

.PHONY: fmt lint lintfix test testonly coverage build snapshot vendor integration

0 comments on commit 227a135

Please sign in to comment.