platform_external_selinux/.github/workflows/vm_testsuite.yml
Christian Göttsche 73b9106dae ci: bump versions in GitHub Actions
* Move from deprecated actions/setup-ruby to ruby/setup-ruby.
* Bump python and ruby upper versions.
* Bump Reference Policy version
* Do not install recommend packages and output package resolution
* Bump to macOS 12

  macOS 10 is deprecated since 5/31/22 [1].
  VirtualBox and Vagrant seems to be supported [2][3].

[1]: https://github.com/actions/virtual-environments/issues/5583
[2]: https://github.com/actions/virtual-environments/pull/5594
[3]: https://github.com/actions/virtual-environments/pull/5854

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-08-15 08:47:31 -04:00

22 lines
489 B
YAML

name: Run SELinux testsuite in a virtual machine
on: [push, pull_request]
jobs:
vm_testsuite:
# Use VirtualBox+vagrant on macOS, as described in https://github.com/actions/virtual-environments/issues/433
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Create Vagrant VM
run: |
cd scripts/ci
vagrant up
- name: Run SELinux testsuite in the VM
run: |
cd scripts/ci
vagrant ssh -- ./run-selinux-test.sh