Skip to content

Commit

Permalink
test: add docker test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nixpig committed Feb 2, 2025
1 parent 86a00f0 commit 59fbb7e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ jobs:
- name: set docker daemon
run: |
cat test/daemon.json | sudo tee /etc/docker/daemon.json
cat test/scripts/daemon.json | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
- name: run docker hello-world
run: |
./test/docker-integration.sh
./test/scripts/docker-integration.sh
7 changes: 7 additions & 0 deletions test/scripts/daemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"runtimes": {
"anocir": {
"path": "/usr/bin/anocir"
}
}
}
6 changes: 6 additions & 0 deletions test/scripts/docker-integration.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

docker run \
--rm \
--runtime brownie \
hello-world

0 comments on commit 59fbb7e

Please sign in to comment.