mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-14 09:48:03 -05:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
# Runs `assertoor` tests on a `kurtosis` testnet.
|
|
|
|
name: kurtosis
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 */6 * * *"
|
|
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
prepare-reth:
|
|
uses: ./.github/workflows/prepare-reth.yml
|
|
with:
|
|
image_tag: ghcr.io/paradigmxyz/reth:kurtosis-ci
|
|
binary_name: reth
|
|
|
|
test:
|
|
timeout-minutes: 60
|
|
strategy:
|
|
fail-fast: false
|
|
name: run kurtosis
|
|
runs-on: depot-ubuntu-latest
|
|
needs:
|
|
- prepare-reth
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Download reth image
|
|
uses: actions/download-artifact@v7
|
|
with:
|
|
name: artifacts
|
|
path: /tmp
|
|
|
|
- name: Load Docker image
|
|
run: |
|
|
docker load -i /tmp/reth_image.tar &
|
|
wait
|
|
docker image ls -a
|
|
|
|
- name: Run kurtosis
|
|
uses: ethpandaops/kurtosis-assertoor-github-action@v1
|
|
with:
|
|
ethereum_package_args: ".github/assets/kurtosis_network_params.yaml"
|
|
|
|
notify-on-error:
|
|
needs: test
|
|
if: failure()
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Slack Webhook Action
|
|
uses: rtCamp/action-slack-notify@v2
|
|
env:
|
|
SLACK_COLOR: ${{ job.status }}
|
|
SLACK_MESSAGE: "Failed run: https://github.com/paradigmxyz/reth/actions/runs/${{ github.run_id }}"
|
|
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
|