Skip to content

Commit

Permalink
Add a test job for persistently mounted docker volume
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Jun 20, 2023
1 parent c1357d7 commit 94de9da
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,21 @@ jobs:
# this will also kill the parent container
sudo killall -9 creditcoin-node
- name: Start docker-compose
run: |
docker-compose up -d
- name: Sanity check for persistently mounted directory
run: |
sleep 60
docker exec creditcoin-validator ls -ld /creditcoin-node/data
docker exec creditcoin-validator ls -la /creditcoin-node/data
- name: Kill the container
run: |
# this will also kill the parent container
sudo killall -9 creditcoin-node
sanity-tests:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 94de9da

Please sign in to comment.