From e8f37b27905f0b1fc87fe5c51a9a1594d42797d0 Mon Sep 17 00:00:00 2001 From: Tiexin Guo Date: Wed, 18 Sep 2024 19:23:49 +0800 Subject: [PATCH] test: add gha workflow for integration test --- .github/workflows/integration-test.yml | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/integration-test.yml diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml new file mode 100644 index 00000000..cb7fb855 --- /dev/null +++ b/.github/workflows/integration-test.yml @@ -0,0 +1,29 @@ +name: Integration Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + go: ['1.22'] + + name: Go ${{ matrix.go }} + + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go }} + + - name: Integration test + run: go test -count=1 -tags=integration ./tests/