Skip to content

Commit

Permalink
Add build constraints to avoid having test running with the unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant committed Mar 24, 2023
1 parent 3c9f626 commit c887de8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build integration
// +build integration

package go_integration_tests

import (
Expand Down
2 changes: 1 addition & 1 deletion openfeature/provider_tests/integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CURRENT_FOLDER=$(pwd)
cd openfeature/provider_tests/go-integration-tests
go mod vendor
go mod tidy
go test .
go test . -tags=integration
cd "${CURRENT_FOLDER}"

# Kill all process launched by the script (here the relay-proxy)
Expand Down

0 comments on commit c887de8

Please sign in to comment.