From ee9cc39f9b6e65eea2037b8938de8cb5c73e677d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 28 Nov 2022 13:56:22 +0100 Subject: add test/ with a basic CI script --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3b46fe..f39c07f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,19 @@ on: workflow_dispatch: jobs: + test: + runs-on: ubuntu-latest + name: Test + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install dependencies + run: sudo apt install -y wireguard-tools + - name: Test + run: sudo ./test/test.sh + publish_docker: + needs: [test] runs-on: ubuntu-latest name: 'Publish / Docker Hub' if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) -- cgit v1.2.3