mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-01 18:32:05 +00:00
GitHub Actions: run SELinux testsuite in Fedora virtual machine
Use the Vagrant configuration in scripts/ci in a workflow for GitHub Actions. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
c534d4e2ce
commit
316a4f89dd
22
.github/workflows/vm_testsuite.yml
vendored
Normal file
22
.github/workflows/vm_testsuite.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
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-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- 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
|
Loading…
Reference in New Issue
Block a user