Add build rule for running integration tests (#1965)

## 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.
This commit is contained in:
Pieter Noordhuis 2024-12-09 10:52:08 +01:00 committed by GitHub
parent 4c1042132b
commit 227a13556b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -36,5 +36,7 @@ vendor:
@echo "✓ Filling vendor folder with library code ..." @echo "✓ Filling vendor folder with library code ..."
@go mod vendor @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