mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-24 03:58:12 -08:00
36 lines
790 B
YAML
36 lines
790 B
YAML
name: VM Test
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'pkg/fanal/vm/**'
|
|
- 'pkg/fanal/walker/vm.go'
|
|
- 'pkg/fanal/artifact/vm/**'
|
|
- 'integration/vm_test.go'
|
|
pull_request:
|
|
paths:
|
|
- 'pkg/fanal/vm/**'
|
|
- 'pkg/fanal/walker/vm.go'
|
|
- 'pkg/fanal/artifact/vm/**'
|
|
- 'integration/vm_test.go'
|
|
|
|
jobs:
|
|
vm-test:
|
|
name: VM Integration Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version-file: go.mod
|
|
- name: Install tools
|
|
uses: aquaproj/aqua-installer@v2.1.1
|
|
with:
|
|
aqua_version: v1.25.0
|
|
- name: Run vm integration tests
|
|
run: |
|
|
mage test:vm |