Skip to content

Commit

Permalink
Make hive depend on docker image upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-o committed Oct 31, 2024
1 parent 5eac784 commit bb41063
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/hive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,12 @@ env:
RUST_VERSION: 1.80.1

jobs:
docker-image:
name: Download Docker image
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
name: ethereum_rust_image
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Load image
run: |
docker load --input /tmp/ethereum_rust_image.tar
docker image ls -a
docker-build:
uses: ./.github/workflows/build.yml # use the callable tests job to run tests

run-hive:
name: ${{ matrix.name }}
needs: docker-build
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -58,6 +47,16 @@ jobs:
name: "Cancun Engine tests"
run_command: make run-hive SIMULATION=ethereum/engine TEST_PATTERN="cancun/Unique Payload ID|ParentHash equals BlockHash on NewPayload|Re-Execute Payload|Payload Build after New Invalid Payload|RPC|Build Payload with Invalid ChainID|Invalid PayloadAttributes, Zero timestamp, Syncing=False|Invalid PayloadAttributes, Parent timestamp, Syncing=False|Invalid PayloadAttributes, Missing BeaconRoot, Syncing=False|Suggested Fee Recipient Test|PrevRandao Opcode Transactions Test|Invalid Missing Ancestor ReOrg, StateRoot"
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
name: ethereum_rust_image
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Load image
run: |
docker load --input /tmp/ethereum_rust_image.tar
docker image ls -a
- name: Checkout sources
uses: actions/checkout@v3

Expand Down

0 comments on commit bb41063

Please sign in to comment.