diff --git a/.github/labels.yml b/.github/labels.yml index 2543132..dfd3c30 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -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" diff --git a/.github/workflows/trigger-regression-tests.yml b/.github/workflows/trigger-regression-tests.yml index 6abc79e..9833567 100644 --- a/.github/workflows/trigger-regression-tests.yml +++ b/.github/workflows/trigger-regression-tests.yml @@ -18,7 +18,17 @@ on: jobs: test: - runs-on: ubuntu-latest - steps: - - name: print - run: echo "Hello, World!" + 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 }}