From 1aeda13cf9e4ca99a3c7372c9208ca02b551f8f1 Mon Sep 17 00:00:00 2001 From: Luke Tucker Date: Fri, 16 May 2025 15:27:41 -0400 Subject: [PATCH] test integration test workflow --- .github/workflows/go-integration-test.yaml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/go-integration-test.yaml diff --git a/.github/workflows/go-integration-test.yaml b/.github/workflows/go-integration-test.yaml new file mode 100644 index 00000000..e23c0f59 --- /dev/null +++ b/.github/workflows/go-integration-test.yaml @@ -0,0 +1,39 @@ +name: Go - integration test +on: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: false + +permissions: + contents: read + +jobs: + go-integration-test: + runs-on: ubuntu-latest + timeout-minutes: 10 + defaults: + run: + working-directory: diode-server + steps: + - name: Setup rootless Docker + uses: docker/setup-docker-action@b60f85385d03ac8acfca6d9996982511d8620a19 # v4 + with: + rootless: true + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.23.x' + check-latest: true + - name: Run go build + run: go build ./... + - name: Install additional dependencies + run: | + go install github.com/mfridman/tparse@v0.14.0 + - name: Run go test + id: go-integration-test + run: | + make test-integration \ No newline at end of file