Skip to content

Commit

Permalink
feat: add Bootguard Integration Test
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Walter <[email protected]>
  • Loading branch information
walterchris committed Mar 20, 2024
1 parent 8e176a0 commit bf652f2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- v*
branches:
- main
- feat/addBtGTests
pull_request:
jobs:
build:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bf652f2

Please sign in to comment.