From 05c82052255c3a6fd1eb66989e04c0c3b9f14b8c Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 18 Feb 2024 15:13:43 +0800 Subject: [PATCH] ci: improve CI Robustness and Test Reliability - Add `-race` flag to the test-tags list in GitHub Actions workflow configuration Signed-off-by: Bo-Yi Wu --- .github/workflows/gin.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gin.yml b/.github/workflows/gin.yml index ce74e801..9ab00ae3 100644 --- a/.github/workflows/gin.yml +++ b/.github/workflows/gin.yml @@ -32,7 +32,8 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] go: ["1.18", "1.19", "1.20", "1.21", "1.22"] - test-tags: ["", "-tags nomsgpack", '-tags "sonic avx"', "-tags go_json"] + test-tags: + ["", "-tags nomsgpack", '-tags "sonic avx"', "-tags go_json", "-race"] include: - os: ubuntu-latest go-build: ~/.cache/go-build