mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Hive - test exclusions (#5121)
* feat(hive): reduce output verbosity in CI * feat(hive): run hive and parse as one to always generate output * feat(hive): add exclusions (wip) and single step CI
This commit is contained in:
parent
ed7b01ebe9
commit
bcb3cac220
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -138,11 +138,10 @@ jobs:
|
||||
- name: build erigon image (root permissions)
|
||||
run: sudo DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker
|
||||
|
||||
- name: run hive
|
||||
run: sudo mkdir /results && docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work thorax/hive:latest --sim ethereum/engine --results-root=/work/results --client erigon_ci-$GITHUB_SHA --docker.output --loglevel 5
|
||||
|
||||
- name: parse hive output
|
||||
run: docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work --entrypoint /app/hivecioutput thorax/hive:latest --resultsdir=/work/results --outdir=/work/results
|
||||
- name: run hive and parse output
|
||||
run: |
|
||||
sudo mkdir /results && docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work thorax/hive:latest --sim ethereum/engine --results-root=/work/results --client erigon_ci-$GITHUB_SHA
|
||||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work --entrypoint /app/hivecioutput thorax/hive:latest --resultsdir=/work/results --outdir=/work/results --exclusionsFile=/work/hive/exclusions.json
|
||||
|
||||
- name: archive hive results
|
||||
uses: actions/upload-artifact@v3
|
||||
|
17
hive/exclusions.json
Normal file
17
hive/exclusions.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"testSuites": [
|
||||
{
|
||||
"name": "engine-transition",
|
||||
"testCases": [
|
||||
"Terminal blocks are gossiped",
|
||||
"Build Payload After Multiple Terminal blocks via gossip"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "sync",
|
||||
"testCases": [
|
||||
"go-ethereum as sync source"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user