Skip to content

Commit

Permalink
Add a github action for triggering acceptance tests
Browse files Browse the repository at this point in the history
This action is very similar to the pre-release-ci action which runs when
a tag is created, but it can be triggered manually on any branch. This
allow us to easily run the acceptance tests in other convenient times
such as before landing a branch or before creating a tag.
  • Loading branch information
fantapop committed Nov 14, 2024
1 parent b15409f commit d4f5a85
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Manually Run Acceptance Tests
on: workflow_dispatch
jobs:
acceptance-test:
name: acceptance-test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true

- name: Tests
run: make testacc
env:
COCKROACH_API_KEY: ${{ secrets.COCKROACH_API_KEY }}

0 comments on commit d4f5a85

Please sign in to comment.