Skip to content

Commit

Permalink
Enable E2E Tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Rule Timothy (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Jul 30, 2024
1 parent 7d6efcf commit 908be34
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
env:
PACKAGE_ARCH: ${{ matrix.package_arch }}
run: |
make test
make test_cmocka
- name: Stats
run: |
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 908be34

Please sign in to comment.