diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-12 17:29:51 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-12 17:31:03 +0100 |
commit | 1fc10fd6fcbadb8c6c8f05895ae0ede1e57b79f8 (patch) | |
tree | 5b79205f6d1b01dd76740d4177c93774b7fd064d /.github/workflows | |
parent | test: add check_web.sh (diff) | |
download | wg-api-web-1fc10fd6fcbadb8c6c8f05895ae0ede1e57b79f8.tar.gz wg-api-web-1fc10fd6fcbadb8c6c8f05895ae0ede1e57b79f8.zip |
test: add LinuxServer tests
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/ci.yml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f229d2..47df797 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,9 @@ on: workflow_dispatch: jobs: - test: + test_host: runs-on: ubuntu-latest - name: Test + name: Test (host) steps: - name: Checkout uses: actions/checkout@v3 @@ -17,8 +17,17 @@ jobs: - name: Test run: sudo ./test/host/test.sh + test_linuxserver: + runs-on: ubuntu-latest + name: Test (LinuxServer) + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Test + run: sudo ./test/linuxserver/test.sh + publish: - needs: [test] + needs: [test_host, test_linuxserver] runs-on: ubuntu-latest name: 'Publish' if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) |