Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/main/github.com/bitcoi…
Browse files Browse the repository at this point in the history
…n-sv/spv-wallet/models-1.0.0-beta.34
  • Loading branch information
ac4ch authored Dec 11, 2024
2 parents fd690a1 + d7d9eb0 commit 5dfce49
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@
- color: 50e061
description: "PR was tested by a team member"
name: "tested"
- color: "8e7cc3"
description: "Runs regression tests"
name: "regression-tests"
34 changes: 34 additions & 0 deletions .github/workflows/trigger-regression-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Regression Tests"
run-name: "Regression Tests for ${{ github.head_ref || github.ref }} | ID: ${{ github.run_id }}-${{ github.run_attempt }}"

on:
workflow_dispatch:
inputs:
keep_instances:
description: 'When should it keep instances created during tests?'
required: true
default: 'never'
type: choice
options:
- 'always'
- 'failure'
- 'never'
pull_request_target:
types: [labeled]

jobs:
test:
uses: 4chain-ag/spv-wallet-regression/.github/workflows/run-regression-tests.yaml@main
with:
run_id: '${{ github.run_id }}-${{ github.run_attempt }}'
keep_instances: ${{ inputs.keep_instances }}
go_client_ref: ${{ github.head_ref || github.ref }}
run_js_client_tests: false
secrets:
MASTER_INSTANCE_URL: ${{ secrets.REG_MASTER_INSTANCE_URL }}
MASTER_INSTANCE_XPRIV: ${{ secrets.REG_MASTER_INSTANCE_XPRIV }}
BLOCK_HEADERS_SERVICE_URL: ${{ secrets.REG_BLOCK_HEADERS_SERVICE_URL }}
BLOCK_HEADERS_SERVICE_AUTH_TOKEN: ${{ secrets.REG_BLOCK_HEADERS_SERVICE_AUTH_TOKEN }}
ARGOCD_SERVER: ${{ secrets.REG_ARGOCD_SERVER }}
ARGOCD_USERNAME: ${{ secrets.REG_ARGOCD_USERNAME }}
ARGOCD_PASSWORD: ${{ secrets.REG_ARGOCD_PASSWORD }}

0 comments on commit 5dfce49

Please sign in to comment.