Skip to content

Merge pull request #1 from endview/codex/nftpf-v0.2.0 #3

Merge pull request #1 from endview/codex/nftpf-v0.2.0

Merge pull request #1 from endview/codex/nftpf-v0.2.0 #3

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install networking test dependencies
run: |
sudo apt-get update
sudo apt-get install -y iproute2 iptables nftables
- name: Check Bash syntax
run: |
bash -n nftpf.sh
bash -n tests/namespace-integration.sh
- name: Run renderer self-test
run: bash nftpf.sh --self-test
- name: Run isolated nftables integration test
run: sudo bash tests/namespace-integration.sh ./nftpf.sh