forked from cerc-io/laconicd-deprecated
Compare commits
29
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdfe6ca285 | ||
|
|
a1ad1e1d35 | ||
|
|
ff74a447fe | ||
|
|
0e13bf7702 | ||
|
|
f8889d0225 | ||
|
|
c80f690c5d | ||
|
|
9719b51a12 | ||
|
|
fa948ec9c2 | ||
|
|
fb29cc26b2 | ||
|
|
07435d0597 | ||
|
|
ec4f8d386d | ||
|
|
87e873dc18 | ||
|
|
4867f2a362 | ||
|
|
2be800f0bb | ||
|
|
6ac975e213 | ||
|
|
8973a0fbf3 | ||
|
|
357f5e8af2 | ||
|
|
25d1577ce4 | ||
|
|
cac9fe327c | ||
|
|
9261699745 | ||
|
|
15db2d3849 | ||
|
|
6c597101ea | ||
|
|
90943bf1e6 | ||
|
|
512136400d | ||
|
|
c0662cb5f1 | ||
|
|
c73dc0d92a | ||
|
|
8f20f25e43 | ||
|
|
08e369aa64 | ||
|
|
40a78c66bf |
No files matched your search
@@ -102,7 +102,7 @@ jobs:
|
|||||||
run: docker compose up -d
|
run: docker compose up -d
|
||||||
- name: run-tests.sh
|
- name: run-tests.sh
|
||||||
working-directory: tests/sdk_tests
|
working-directory: tests/sdk_tests
|
||||||
run: ./run-all-tests.sh
|
run: ./run-tests.sh
|
||||||
|
|
||||||
|
|
||||||
# integration_tests:
|
# integration_tests:
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ WORKDIR /app
|
|||||||
RUN \
|
RUN \
|
||||||
git clone https://github.com/cerc-io/laconic-sdk.git \
|
git clone https://github.com/cerc-io/laconic-sdk.git \
|
||||||
&& cd laconic-sdk \
|
&& cd laconic-sdk \
|
||||||
&& git checkout auction_nameservice_tests \
|
&& git checkout jest_timeout \
|
||||||
&& yarn install
|
&& yarn install
|
||||||
|
|
||||||
WORKDIR /app/laconic-sdk
|
WORKDIR /app/laconic-sdk
|
||||||
@@ -2,9 +2,6 @@ services:
|
|||||||
laconicd:
|
laconicd:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: cerc-io/laconicd:local-test
|
image: cerc-io/laconicd:local-test
|
||||||
environment:
|
|
||||||
- TEST_AUCTION_ENABLED=true
|
|
||||||
- TEST_REGISTRY_EXPIRY=true
|
|
||||||
command: ["sh", "/docker-entrypoint-scripts.d/create-fixturenet.sh"]
|
command: ["sh", "/docker-entrypoint-scripts.d/create-fixturenet.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
- ../../init.sh:/docker-entrypoint-scripts.d/create-fixturenet.sh
|
- ../../init.sh:/docker-entrypoint-scripts.d/create-fixturenet.sh
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
|
||||||
set -x
|
|
||||||
fi
|
|
||||||
# Get the key from laconicd
|
|
||||||
laconicd_key=$( docker compose exec laconicd echo y | docker compose exec laconicd laconicd keys export mykey --unarmored-hex --unsafe )
|
|
||||||
# Set parameters for the test suite
|
|
||||||
cosmos_chain_id=laconic_9000-1
|
|
||||||
laconicd_rest_endpoint=http://laconicd:1317
|
|
||||||
laconicd_gql_endpoint=http://laconicd:9473/api
|
|
||||||
# Run tests
|
|
||||||
docker network inspect sdk_tests_default
|
|
||||||
sleep 30s
|
|
||||||
|
|
||||||
docker compose exec sdk-test-runner sh -c "COSMOS_CHAIN_ID=${cosmos_chain_id} LACONICD_REST_ENDPOINT=${laconicd_rest_endpoint} LACONICD_GQL_ENDPOINT=${laconicd_gql_endpoint} PRIVATE_KEY=${laconicd_key} yarn test"
|
|
||||||
docker compose exec sdk-test-runner sh -c "COSMOS_CHAIN_ID=${cosmos_chain_id} LACONICD_REST_ENDPOINT=${laconicd_rest_endpoint} LACONICD_GQL_ENDPOINT=${laconicd_gql_endpoint} PRIVATE_KEY=${laconicd_key} yarn test:auctions"
|
|
||||||
docker compose exec sdk-test-runner sh -c "COSMOS_CHAIN_ID=${cosmos_chain_id} LACONICD_REST_ENDPOINT=${laconicd_rest_endpoint} LACONICD_GQL_ENDPOINT=${laconicd_gql_endpoint} PRIVATE_KEY=${laconicd_key} yarn test:nameservice-expiry"
|
|
||||||
docker logs sdk_tests-laconicd-1
|
|
||||||
Reference in new issue
Block a user