Skip to content

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
sudeepdino008 committed Sep 12, 2024
1 parent 04622b4 commit 0daf176
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .github/workflows/test-kurtosis-assertoor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,30 @@ on:


jobs:
define_matrix:
runs-on: ubuntu-latest
outputs:
os: ${{ steps.os.outputs.os }}

steps:
- name: Define os
id: os
run: echo 'os=["ubuntu-latest"]' >> "$GITHUB_OUTPUT"

assertoor_test:
needs: define_matrix
strategy:
matrix:
# list of os: https://github.com/actions/virtual-environments
os:
- { id: ubuntu-22.04, name: ubuntu }
runs-on: ${{ matrix.os.id }}
- ${{ fromJSON(needs.define_matrix.outputs.os) }}
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: make docker (see dockerhub for image builds)
run: DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker


- name: Install dependencies on Linux
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential
Expand All @@ -50,9 +60,22 @@ jobs:
#kurtosis_extra_args: --verbosity detailed --cli-log-level trace
enclave_dump: false

dnotifications:
name: Discord notification
needs:
- define_matrix
- assertoor_test
if: ${{ always() }}
strategy:
matrix:
# list of os: https://github.com/actions/virtual-environments
os:
- ${{ fromJSON(needs.define_matrix.outputs.os) }}
runs-on: ${{ matrix.os }}

steps:
- name: discord notifications push
uses: nobrayner/discord-webhook@v1
if: ${{ always() }}
with:
github-token: ${{ secrets.github_token }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}

0 comments on commit 0daf176

Please sign in to comment.