update CHANGELOG. #631
Workflow file for this run
This file contains hidden or 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: run-acceptance-tests | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| test_run_pattern: | |
| description: 'Extra run arguments to pass to Go tests (e.g. "^Test.*Database.*")' | |
| required: false | |
| type: string | |
| default: '' | |
| push: | |
| branches: | |
| - '**' | |
| paths: | |
| - 'go.mod' | |
| - 'go.sum' | |
| - '**.go' | |
| - '.github/workflows/tests.yml' | |
| tags-ignore: | |
| - 'v*' # Don't run CI tests on release tags | |
| # Prevent // execution of acc tests | |
| concurrency: acc-tests | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: make go.mk | |
| - uses: ./go.mk/.github/actions/setup | |
| - uses: ./go.mk/.github/actions/pre-check | |
| - name: Run tests with default arguments | |
| if: github.event.inputs.test_run_pattern == '' | |
| run: | | |
| make test-verbose test-acc | |
| env: | |
| EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY }} | |
| EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET }} | |
| - name: Run tests with custom arguments | |
| if: github.event.inputs.test_run_pattern != '' | |
| run: | | |
| make test-verbose test-acc EXTRA_ARGS="-parallel=3 -count=1 -failfast -run=${{ github.event.inputs.test_run_pattern }}" | |
| env: | |
| EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY }} | |
| EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET }} |