Skip to content

Commit

Permalink
Tests for the Playground
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Dec 30, 2020
1 parent cab0399 commit 35a8ae5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/test_playground.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

docker-compose version

ls -la

cd arouteserver/tools/playground

docker-compose build

docker-compose up -d

docker-compose exec rs bash -c 'birdc show protocols | grep BGP'
20 changes: 20 additions & 0 deletions .github/workflows/test_playground.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Playground tests

on: push

jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
test-playground:
name: Playground tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run Playground tests
run: .github/test_playground.sh
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 35a8ae5

Please sign in to comment.