Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test-sim-docker-compose-doesnt-crash-on-run

on:
pull_request:
push:
branches:
- 'master'

jobs:
commitlint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Run sim
run: SCENARIO="droplist --delay=15ms --bandwidth=10Mbps --queue=25" docker compose up sim -d --build
- name: Wait for container to start
run: sleep 5
- name: Check if container is still running
run: exit $(($(docker ps -q | wc -l) ^ 1 ))
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ version: "3.5"
services:
sim:
image: martenseemann/quic-network-simulator
build:
context: sim
dockerfile: Dockerfile
container_name: sim
hostname: sim
stdin_open: true
Expand Down