diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 89f94c2..1e143a9 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -25,4 +25,4 @@ jobs: - uses: actions/checkout@v4 - name: tests run: | - make integration-test + make run-integration-test diff --git a/Makefile b/Makefile index 01e0296..7aed263 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,22 @@ verify-gofmt: test: go test -v --race -cpu=1,2,4 ./code/ ./runtime/ -.PHONY: integration-test -integration-test: gofail +# run all integration tests +.PHONY: run-all-integration-test +run-all-integration-test: run-integration-test-sleep + +.PHONY: build-integration-test +build-integration-test: gofail + +.PHONY: cleanup-integration-test +cleanup-integration-test: clean + +# run integration test - sleep +.PHONY: run-integration-test-sleep +run-integration-test-sleep: build-integration-test execute-integration-test-sleep cleanup-integration-test + +.PHONY: execute-integration-test-sleep +execute-integration-test-sleep: ./integration/sleep/execute.sh fix: fix-gofmt