Commit 394e2a83 authored by Gyanendra Mishra's avatar Gyanendra Mishra Committed by GitHub

ci: continue running jobs if one nightly job fails (#344)

parent 1d361fdf
...@@ -12,13 +12,14 @@ jobs: ...@@ -12,13 +12,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- id: set-matrix - id: set-matrix
run: echo "::set-output name=matrix::$(ls ./.github/tests/*.yaml | jq -R -s -c 'split("\n")[:-1]')" run: echo "matrix=$(ls ./.github/tests/*.yaml | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
run_with_args: run_with_args:
needs: list-yamls needs: list-yamls
strategy: strategy:
matrix: matrix:
file_name: ${{ fromJson(needs.list-yamls.outputs.matrix) }} file_name: ${{ fromJson(needs.list-yamls.outputs.matrix) }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
...@@ -32,3 +33,12 @@ jobs: ...@@ -32,3 +33,12 @@ jobs:
- name: Run Starlark - name: Run Starlark
run: kurtosis run ${{ github.workspace }} --args-file ${{ matrix.file_name }} run: kurtosis run ${{ github.workspace }} --args-file ${{ matrix.file_name }}
- name: Notify
if: cancelled() || failure()
uses: Ilshidur/action-discord@master
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
args: "The nightly test for ${{matrix.file_name}} on ethereum-package has failed find it here ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
...@@ -52,7 +52,7 @@ jobs: ...@@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Setup Kurtosis - name: Setup Kurtosis
run: | run: |
......
...@@ -8,7 +8,7 @@ DEFAULT_EL_IMAGES = { ...@@ -8,7 +8,7 @@ DEFAULT_EL_IMAGES = {
"geth": "ethereum/client-go:latest", "geth": "ethereum/client-go:latest",
"erigon": "ethpandaops/erigon:devel", "erigon": "ethpandaops/erigon:devel",
"nethermind": "nethermind/nethermind:latest", "nethermind": "nethermind/nethermind:latest",
"besu": "hyperledger/besu:develop", "besu": "hyperledger/besu:latest",
"reth": "ghcr.io/paradigmxyz/reth", "reth": "ghcr.io/paradigmxyz/reth",
"ethereumjs": "ethpandaops/ethereumjs:master", "ethereumjs": "ethpandaops/ethereumjs:master",
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment