From 908be348721f1f337a3556279807de66f1ac47a4 Mon Sep 17 00:00:00 2001 From: "Rule Timothy (VM/EMT3)" Date: Tue, 30 Jul 2024 16:04:33 +0200 Subject: [PATCH] Enable E2E Tests. Signed-off-by: Rule Timothy (VM/EMT3) --- .github/workflows/ci.yaml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7e9a747..3a5c815 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -60,7 +60,7 @@ jobs: env: PACKAGE_ARCH: ${{ matrix.package_arch }} run: | - make test + make test_cmocka - name: Stats run: | @@ -88,6 +88,30 @@ jobs: sandbox_out.tar.gz retention-days: 1 + test_e2e: + runs-on: [ubuntu-latest] + needs: [build] + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} + + - uses: actions/download-artifact@v3 + with: + name: ${{ env.package_name }}-linux-amd64-sandbox + path: . + + - name: Sandbox + run: | + tar xzf sandbox_out.tar.gz + find ${{ env.build_dir }}/_out -type f -name '*' -exec ls -sh --color=auto {} \; + + - name: Test + run: | + make test_e2e + + + publish: if: startsWith(github.ref, 'refs/tags/') runs-on: [ubuntu-latest]