Add CLI tests and setup CI #53
@ -40,7 +40,7 @@ jobs:
|
|||||||
- name: Checkout laconicd
|
- name: Checkout laconicd
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: "/tmp/laconicd/"
|
path: "./laconicd/"
|
||||||
repository: cerc-io/laconicd
|
repository: cerc-io/laconicd
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: main
|
ref: main
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
run: ls -tlh && env
|
run: ls -tlh && env
|
||||||
|
|
||||||
- name: Build laconicd container
|
- name: Build laconicd container
|
||||||
working-directory: /tmp/laconicd/tests/sdk_tests
|
working-directory: ./laconicd/tests/sdk_tests
|
||||||
run: ./build-laconicd-container.sh
|
run: ./build-laconicd-container.sh
|
||||||
- name: Start laconicd container
|
- name: Start laconicd container
|
||||||
env:
|
env:
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
- TEST_REGISTRY_EXPIRY
|
- TEST_REGISTRY_EXPIRY
|
||||||
- LOGLEVEL
|
- LOGLEVEL
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/laconicd/init.sh:/docker-entrypoint-scripts.d/create-fixturenet.sh
|
- ./laconicd/init.sh:/docker-entrypoint-scripts.d/create-fixturenet.sh
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-v", "http://127.0.0.1:6060"]
|
test: ["CMD", "curl", "-v", "http://127.0.0.1:6060"]
|
||||||
interval: 1s
|
interval: 1s
|
||||||
|
Loading…
Reference in New Issue
Block a user