From bf652f284e5e306672e97315c63dddeef5be888c Mon Sep 17 00:00:00 2001 From: Christian Walter Date: Wed, 20 Mar 2024 14:39:38 +0100 Subject: [PATCH] feat: add Bootguard Integration Test Signed-off-by: Christian Walter --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c066f2f0..f39f1d66 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: - v* branches: - main + - feat/addBtGTests pull_request: jobs: build: @@ -52,6 +53,29 @@ jobs: - name: go test run: go test -v ./pkg/... + integrationBtG: + needs: build + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Download file + run: | + wget https://download.lenovo.com/pccbbs/mobiles/n2yur17w.iso + + - name: Mount Image + id: mount-image + uses: damianperera/mount-image-action@v1 + with: + imagePath: ./n2yur17w.iso + mountPoint: /mnt/firmwareImage + + - name: Check Image + run: | + ls -l /mnt/firmwareImage + generateTemplates: needs: build runs-on: ubuntu-latest