CI wip
This commit is contained in:
parent
3ab24a00cd
commit
8bc7d62d4f
@ -28,31 +28,32 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
path: ./plugeth-statediff
|
||||||
check-latest: true
|
|
||||||
# TODO: replace with release
|
# TODO: replace with release
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: cerc-io/plugeth
|
||||||
|
ref: statediff-wip
|
||||||
|
path: ./plugeth
|
||||||
|
- name: "Install SSH for image builds"
|
||||||
|
working-directory: ./plugeth-statediff
|
||||||
|
run: |
|
||||||
|
mkdir -p _dev/.ssh
|
||||||
|
echo "${{ secrets.CI_SSH_PRIVATE_KEY }}" > _dev/.ssh/id_rsa
|
||||||
|
ssh-keyscan git.vdb.to >> _dev/.ssh/known_hosts
|
||||||
|
echo '[url "ssh://git@git.vdb.to"] insteadOf = https://git.vdb.to' > _dev/.gitconfig
|
||||||
|
cp -r _dev ../plugeth/
|
||||||
|
|
||||||
- name: "Install stack-orchestrator"
|
- name: "Install stack-orchestrator"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: roysc/stack-orchestrator
|
repository: roysc/stack-orchestrator
|
||||||
ref: plugeth-testing
|
ref: plugeth-testing
|
||||||
path: ./stack-orchestrator
|
path: ./stack-orchestrator
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: cerc-io/plugeth
|
|
||||||
ref: statediff-wip
|
|
||||||
path: ../plugeth
|
|
||||||
- name: "Install SSH for image builds"
|
|
||||||
run: |
|
|
||||||
mkdir -p _dev/.ssh
|
|
||||||
echo "${{ secrets.CI_SSH_PRIVATE_KEY }}" > _dev/.ssh/id_rsa
|
|
||||||
ssh-keyscan >> _dev/.ssh/known_hosts
|
|
||||||
echo '[url "ssh://git@git.vdb.to"] insteadOf = https://git.vdb.to' > _dev/.gitconfig
|
|
||||||
cp -r _dev ../plugeth
|
|
||||||
- run: pip install ./stack-orchestrator
|
- run: pip install ./stack-orchestrator
|
||||||
- name: "Run testnet stack"
|
- name: "Run testnet stack"
|
||||||
|
working-directory: ./plugeth-statediff
|
||||||
run: ./scripts/integration-setup.sh
|
run: ./scripts/integration-setup.sh
|
||||||
- name: "Clone system-tests"
|
- name: "Clone system-tests"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -60,8 +61,6 @@ jobs:
|
|||||||
repository: cerc-io/system-tests
|
repository: cerc-io/system-tests
|
||||||
ref: roy/dev
|
ref: roy/dev
|
||||||
path: ./system-tests
|
path: ./system-tests
|
||||||
- name: "Build docker image"
|
|
||||||
run: make docker-image
|
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: |
|
run: |
|
||||||
pytest -v \
|
pytest -v \
|
||||||
|
Loading…
Reference in New Issue
Block a user