first pass use tests/sdk-tests/run-tests.sh in github action #87

Closed
ABastionOfSanity wants to merge 8 commits from run_tests_github_action into main
2 changed files with 24 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Publish onn release name: Publish on release
on: on:
release: release:
types: [published] types: [published]

View File

@ -81,6 +81,29 @@ jobs:
make test-rpc make test-rpc
if: env.GIT_DIFF if: env.GIT_DIFF
sdk_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout laconic-sdk
uses: actions/checkout@v3
with:
path: "./laconic-sdk/"
repository: cerc-io/laconic-sdk
fetch-depth: 0
- name: Environment
run: ls -tlh && env
- name: build containers scripts
working-directory: tests/sdk_tests
run: ./build-laconicd-container.sh && ./build-sdk-test-container.sh
- name: start containers
working-directory: tests/sdk_tests
run: docker compose up -d
- name: run-tests.sh
working-directory: tests/sdk_tests
run: ./run-tests.sh
# integration_tests: # integration_tests:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# steps: # steps: