test script

This commit is contained in:
zramsay 2023-03-07 15:34:28 -05:00
parent 93e3f5c301
commit d6c420d722
No known key found for this signature in database
GPG Key ID: FECD2DBFAE9DBE63
2 changed files with 7 additions and 2 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Environment - name: Environment
run: ls -tlh && env run: ls -tlh && env
- name: build registry-cli container - name: build registry-cli container
run: docker build -t cerc/laconic-registry-cli:local-test --build-arg CERC_NPM_URL=https://git.vdb.to/api/packages/cerc-io/npm/ --build-arg CERC_NPM_AUTH_TOKEN="${{ secrets.GITEA_PUBLISH_TOKEN }}" . run: docker build -t cerc/laconic-registry-cli:local-test --build-arg CERC_NPM_URL=https://git.vdb.to/api/packages/cerc-io/npm/ .
- name: build containers scripts - name: build containers scripts
working-directory: laconicd/tests/sdk_tests working-directory: laconicd/tests/sdk_tests
run: ./build-laconicd-container.sh run: ./build-laconicd-container.sh
@ -30,7 +30,8 @@ jobs:
run: docker compose up laconicd -d run: docker compose up laconicd -d
- name: Run registry-cli demo commands in registry-cli container - name: Run registry-cli demo commands in registry-cli container
run : ls -tla working-directory: laconic-registry-cli/scripts
run : ./cli-commands-test.sh
- name: stop containers - name: stop containers
working-directory: laconicd/tests/sdk_tests working-directory: laconicd/tests/sdk_tests
run: docker compose down run: docker compose down

View File

@ -0,0 +1,4 @@
#!/bin/bash
set -euo pipefail
echo "Hello from CLETUS"