From 59bd888f3e0fc5bd775d4ccb08175069bd03bc9d Mon Sep 17 00:00:00 2001 From: Alexey-Sagaydak Date: Sun, 28 Apr 2024 02:20:45 +0700 Subject: [PATCH] add tests to separate job --- .github/workflows/ci.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a5e3868..6b39a97 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,12 +32,27 @@ jobs: name: server path: ./server/http-server.deb + test: + needs: build + runs-on: ubuntu-latest + + steps: + - name: Download client artifact + uses: actions/download-artifact@v3 + with: + name: client + - name: Install client run: sudo dpkg -i ./client/http-client.deb - name: Test client run: libhv-client --help + - name: Download server artifact + uses: actions/download-artifact@v3 + with: + name: server + - name: Install server run: sudo dpkg -i ./server/http-server.deb