Skip to content

Commit

Permalink
Add test for running the Docker image on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Mar 15, 2024
1 parent 7126eeb commit 6c89695
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,10 @@ jobs:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
tags: bors
load: true
- name: Run Docker image
run: |
# Check that the service starts
docker run bors &
timeout 20 bash -c 'until nc -z localhost 8080; do sleep 1; done'

0 comments on commit 6c89695

Please sign in to comment.