Skip to content

Commit

Permalink
Add Github Actions to run unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chaifeng committed Sep 13, 2021
1 parent cc58088 commit 0150af8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/testing.yml
@@ -0,0 +1,16 @@
name: Unit Testing ufw-docker
on: [push, pull_request]
jobs:
test:
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

0 comments on commit 0150af8

Please sign in to comment.