Skip to content

Commit

Permalink
Mark solana test matrix as required check (#10811)
Browse files Browse the repository at this point in the history
  • Loading branch information
tateexon authored Sep 27, 2023
1 parent c1348ed commit f684afc
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ jobs:
- run: echo "this exists so we don't have to run anything else if the build is skipped"
if: needs.changes.outputs.src == 'false' || needs.solana-test-image-exists.outputs.exists == 'true'

solana-smoke-tests:
solana-smoke-tests-matrix:
if: ${{ !contains(join(github.event.pull_request.labels.*.name, ' '), 'skip-smoke-tests') }}
environment: integration
permissions:
Expand All @@ -674,7 +674,7 @@ jobs:
strategy:
matrix:
image:
- name: ""
- name: (base)
tag-suffix: ""
- name: (plugins)
tag-suffix: -plugins
Expand Down Expand Up @@ -732,6 +732,26 @@ jobs:
path: /tmp/gotest.log
retention-days: 7
continue-on-error: true

### Used to check the required checks box when the matrix completes
solana-smoke-tests:
if: always()
runs-on: ubuntu-latest
name: Solana Smoke Tests
needs: [solana-smoke-tests-matrix]
steps:
- name: Check smoke test matrix status
if: needs.solana-smoke-tests-matrix.result != 'success'
run: exit 1
- name: Collect Metrics
if: always()
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@d2c2b7bdc9012651230b2608a1bcb0c48538b6ec
with:
basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_CLOUD_HOST }}
this-job-name: Solana Smoke Tests
continue-on-error: true
### End Solana Section

### Start Live Testnet Section
Expand Down

0 comments on commit f684afc

Please sign in to comment.