note
All checks were successful
Tests / Run integration tests (pull_request) Successful in 3m39s

This commit is contained in:
Roy Crihfield 2023-09-27 23:00:18 +08:00
parent c80cb409ad
commit 4b04e07d1d

View File

@ -36,15 +36,15 @@ jobs:
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: Run server and tests # Run a sanity test against the fixture data
# Complete integration tests are TODO
- name: Run basic integration test
env: env:
DATABASE_TYPE: postgres DATABASE_TYPE: postgres
LEVELDB_PATH: ./fixture/chaindata LEVELDB_PATH: ./fixture/chaindata
LEVELDB_ANCIENT: ./fixture/chaindata/ancient LEVELDB_ANCIENT: ./fixture/chaindata/ancient
LOG_FILE_PATH: ./server-log LOG_FILE_PATH: ./server-log
timeout-minutes: 30 timeout-minutes: 30
# Run a sanity test against the fixture data
# Complete integration tests are TODO
run: | run: |
./eth-statediff-service --config ./test/ci-config.toml serve & ./eth-statediff-service --config ./test/ci-config.toml serve &
sleep 10 sleep 10