mirror of
https://github.com/crowdsecurity/cs-firewall-bouncer.git
synced 2024-08-19 01:18:49 +03:00
26 lines
541 B
YAML
26 lines
541 B
YAML
name: Functional Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
install_crowdsec:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go 1.20.1
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.20.1
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install deps for tests
|
|
run: sudo apt install -y nftables iptables ipset
|
|
- name: Run tests
|
|
run: make func-tests
|