ufw-docker/.github/workflows/testing.yml
Chai Feng a084237e3f
Some checks failed
Build and Push Images / build-and-push-agent (map[name:legacy use_iptables_legacy:true]) (push) Has been cancelled
Build and Push Images / build-and-push-agent (map[name:nf_tables use_iptables_legacy:false]) (push) Has been cancelled
Unit Testing ufw-docker / Unit Testing (push) Has been cancelled
Rename GitHub Action names
2025-07-11 17:32:25 +08:00

16 lines
531 B
YAML

name: Unit Testing ufw-docker
on: [push, pull_request]
jobs:
unit-testing:
name: Unit Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Test ufw-docker
run: ./test.sh