From f1e86865555f1a709f1fc0a15ec21e8ece3d2025 Mon Sep 17 00:00:00 2001 From: przemyslaw Date: Fri, 4 Oct 2024 20:01:48 +0200 Subject: [PATCH] scaffolding for github ci job --- .github/workflows/integration-tests.yml | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/integration-tests.yml diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml new file mode 100644 index 000000000..fe859ec49 --- /dev/null +++ b/.github/workflows/integration-tests.yml @@ -0,0 +1,36 @@ +name: E2E tests + +on: + merge_group: + push: + branches: [ "main" ] + workflow_dispatch: + inputs: + GIT_REF: + description: 'Commit hash to run the tests' + required: true +jobs: + + e2e-test-run: + runs-on: ubuntu-latest + needs: [build-quesma-docker-image] + steps: + - uses: actions/checkout@v4 + with: ## @TODO REMOVE + ref: ${{ github.event.inputs.GIT_REF }} + + - name: Set up Go + uses: actions/setup-go@v5 + with: + cache-dependency-path: smoke-test/go.sum + go-version: '1.22' + +# - name: Download images +# uses: actions/download-artifact@v4 +# with: +# path: /tmp/images + + - name: Run integration tests + working-directory: ci/it + run: go test -v +