update CI, use external fixture
All checks were successful
Tests / Run integration tests (pull_request) Successful in 3m48s
All checks were successful
Tests / Run integration tests (pull_request) Successful in 3m48s
This commit is contained in:
parent
f47336825d
commit
ade6cba58f
@ -34,16 +34,24 @@ jobs:
|
|||||||
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: go build .
|
run: go build .
|
||||||
|
- name: Install test fixtures
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: cerc-io/eth-testing
|
||||||
|
path: ./fixtures
|
||||||
|
ref: v0.3.1
|
||||||
# Run a sanity test against the fixture data
|
# Run a sanity test against the fixture data
|
||||||
# Complete integration tests are TODO
|
# Complete integration tests are TODO
|
||||||
- name: Run basic integration test
|
- name: Run basic integration test
|
||||||
env:
|
env:
|
||||||
DATABASE_TYPE: postgres
|
DATABASE_TYPE: postgres
|
||||||
LEVELDB_PATH: ./fixture/chaindata
|
LEVELDB_PATH: ./fixtures/chaindata/_data/small
|
||||||
LEVELDB_ANCIENT: ./fixture/chaindata/ancient
|
LEVELDB_ANCIENT: ./fixtures/chaindata/_data/small/ancient
|
||||||
LOG_FILE: ./server-log
|
LOG_FILE: ./server-log
|
||||||
|
ETH_GENESIS_BLOCK: "0x37cbb63c7150a7b60f2878433963ed8ba7e5f82fb2683ec7a945c974e1cf4e05"
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
run: |
|
run: |
|
||||||
./eth-statediff-service --config ./test/ci-config.toml serve &
|
./eth-statediff-service --config ./test/ci-config.toml serve &
|
||||||
|
6
fixture/.gitignore
vendored
6
fixture/.gitignore
vendored
@ -1,6 +0,0 @@
|
|||||||
*/*.log
|
|
||||||
*/CURRENT*
|
|
||||||
*/LOCK
|
|
||||||
*/LOG
|
|
||||||
*/MANIFEST-*
|
|
||||||
*/ancient/FLOCK
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
<EFBFBD><01>
|
|
@ -1 +0,0 @@
|
|||||||
<EFBFBD><01>
|
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
<EFBFBD><01>
|
|
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
<EFBFBD><01>
|
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
<EFBFBD><01>
|
|
@ -31,6 +31,5 @@
|
|||||||
chainConfig = "test/ci-chain.json"
|
chainConfig = "test/ci-chain.json"
|
||||||
nodeID = ""
|
nodeID = ""
|
||||||
clientName = "eth-statediff-service"
|
clientName = "eth-statediff-service"
|
||||||
genesisBlock = "0x37cbb63c7150a7b60f2878433963ed8ba7e5f82fb2683ec7a945c974e1cf4e05"
|
|
||||||
networkID = 1
|
networkID = 1
|
||||||
chainID = 41337
|
chainID = 41337
|
||||||
|
Loading…
Reference in New Issue
Block a user