Changed to debug. #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Linux Build and Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Test Docker Build | |
run: | | |
set -x | |
docker build -t metacall/nodejs-c-liburing-example . | |
docker run -p 8000:8000 --name metacall_test -d metacall/nodejs-c-liburing-example | |
docker ps | |
sleep 10 | |
docker ps | |
docker logs metacall_test | |
docker inspect metacall_test --format='{{.State.ExitCode}}' | |
curl localhost:8000 || exit 1 | |
# until [ "`docker inspect -f {{.State.Health.Status}} metacall_test`" == "healthy" ]; do | |
# sleep 1 | |
# done |