try actions
Some checks failed
CI / container-test-job (push) Failing after 1m26s

This commit is contained in:
Kris
2024-02-06 10:53:12 -05:00
parent 7da2f232d6
commit 91e9a297c9

View File

@@ -23,7 +23,7 @@ jobs:
run: docker build -t ${{ github.sha }} .
- name: Run Docker container
run: docker run -d -p 3000:3000 --name ${{ github.sha }} ${{ github.sha }}
run: docker run -d --name ${{ github.sha }} --entrypoint "bundle exec rails test" ${{ github.sha }}
#- name: Wait for Rails to start
# run: docker exec ${{ github.sha }} /usr/bin/sh -c 'until /usr/bin/nc -z localhost 3000; do sleep 1; done'