Integration tests #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration tests | ||
on: | ||
# #merge_group: | ||
# push: | ||
# branches: [ "main" ] | ||
workflow_dispatch: | ||
inputs: | ||
GIT_REF: | ||
description: 'Commit hash to run the tests' | ||
required: true | ||
jobs: | ||
integration-test-run: | ||
Check failure on line 14 in .github/workflows/integration-tests.yml GitHub Actions / Integration testsInvalid workflow file
|
||
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' | ||
# (perhaps prefetching these should be considered) | ||
# - name: Download images | ||
# uses: actions/download-artifact@v4 | ||
# with: | ||
# path: /tmp/images | ||
- name: Run integration tests | ||
working-directory: ci/it | ||
run: go test -v | ||