Skip to content

Commit

Permalink
Add test for creditcoin-cli inside the container
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Dec 15, 2023
1 parent 4141072 commit 8f2367f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
IP_ADDRESS=$(curl https://ifconfig.me)
echo "INFO: IP_ADDRESS=$IP_ADDRESS"
docker run -d -p 9933:9933 -p 30333:30333 gluwa/creditcoin \
docker run --name creditcoin-validator -d -p 9933:9933 -p 30333:30333 gluwa/creditcoin \
--validator --chain mainnet \
--name "test-node-$GITHUB_RUN_ID-attempt-$GITHUB_RUN_ATTEMPT" \
--public-addr "/dns4/$IP_ADDRESS/tcp/30333" \
Expand All @@ -45,6 +45,11 @@ jobs:
sleep 60
./scripts/check-health.sh
- name: Sanity test creditcoin-cli inside the container
run: |
docker exec creditcoin-validator which creditcoin-cli
docker exec creditcoin-validator creditcoin-cli wizard --help
- name: Kill the container
run: |
# this will also kill the parent container
Expand Down

0 comments on commit 8f2367f

Please sign in to comment.