Skip to content

Commit

Permalink
Merge pull request hyperledger#22 from jflo/gha_acceptTest
Browse files Browse the repository at this point in the history
reftests too
  • Loading branch information
jflo authored Dec 11, 2023
2 parents b6d2a41 + b75eb4c commit aa1ac57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: acceptance-tests
on:
pull_request_review:
types: [ submitted ]
workflow_dispatch:


Expand All @@ -28,7 +26,8 @@ jobs:
name: "Acceptance Runner #${{ matrix.runner-index }}: Run acceptance tests in parallel"
needs:
- runner-indexes
if: ${{ github.actor != 'dependabot[bot]' && github.event.review.state == 'approved'}}
# TODO: return check for PR approval here!
if: ${{ github.actor != 'dependabot[bot]'}}
strategy:
fail-fast: false
matrix:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/reference-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: reference-tests
on:
workflow_call:
workflow_dispatch:


env:
Expand All @@ -9,7 +9,7 @@ env:

jobs:
runner-indexes:
runs-on: besu-research-ubuntu-8
runs-on: ubuntu-22.04
name: Generate runner indexes
outputs:
json: ${{ steps.generate-index-list.outputs.json }}
Expand All @@ -21,7 +21,7 @@ jobs:
INDEX_JSON=$(jq --null-input --compact-output '. |= [inputs]' <<< ${INDEX_LIST})
echo "::set-output name=json::${INDEX_JSON}"
prepareReferenceTestEthereum:
runs-on: besu-research-ubuntu-8
runs-on: ubuntu-22.04
timeout-minutes: 30
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
path: "ethereum/referencetests/build/generated/sources/reference-test/**"
key: ${{ runner.os }}-reftests-${{ github.sha }}
referenceTestEthereum:
runs-on: besu-research-ubuntu-8
runs-on: ubuntu-22.04
needs:
- prepareReferenceTestEthereum
- runner-indexes
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
path: '**/build/test-results/referenceTests/TEST-*.xml'
retention-days: 1
referenceTestQbft:
runs-on: besu-research-ubuntu-8
runs-on: ubuntu-22.04
timeout-minutes: 30
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
Expand Down

0 comments on commit aa1ac57

Please sign in to comment.