From 8bc7d62d4f7b4453f4d4b351fac4550bd0971624 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 6 Jul 2023 17:29:24 +0800 Subject: [PATCH] CI wip --- .gitea/workflows/test.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 37d05a7..c258696 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -28,31 +28,32 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' - check-latest: true + path: ./plugeth-statediff # 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" uses: actions/checkout@v3 with: repository: roysc/stack-orchestrator ref: plugeth-testing 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 - name: "Run testnet stack" + working-directory: ./plugeth-statediff run: ./scripts/integration-setup.sh - name: "Clone system-tests" uses: actions/checkout@v3 @@ -60,8 +61,6 @@ jobs: repository: cerc-io/system-tests ref: roy/dev path: ./system-tests - - name: "Build docker image" - run: make docker-image - name: "Run tests" run: | pytest -v \