32 lines
636 B
YAML
32 lines
636 B
YAML
name: Functionnal tests for IP management
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
name: Install generated release and perform basic tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go 1.13
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.13
|
|
id: go
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
- name: install ipset for bouncer
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install jq
|
|
- name: run tests
|
|
run: |
|
|
cd scripts/
|
|
sudo ./test_ip_management.sh
|
|
|