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
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on:
push:
branches: [ advanced ]
pull_request:
branches: [ advanced ]
workflow_dispatch:

jobs:
verify_solution:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Download deps
run: make deps
- name: Check solution
run: make check check-sr check-gtp NGSDN_TUTORIAL_SUDO=sudo
5 changes: 4 additions & 1 deletion util/mn-cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ if [ -z $1 ]; then
exit 1
fi

docker exec -it mininet /mininet/host-cmd $@
# Do not attach stdin if running in an environment without (e.g., GitHub Actions)
it=$(test -t 0 && echo "-it" || echo "-t")

docker exec $it mininet /mininet/host-cmd $@