Skip to content

Commit

Permalink
Try switching to Ubuntu for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzheiber committed Feb 8, 2024
1 parent 8b15985 commit eecb67e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,18 @@ on:

jobs:
test:
runs-on: macos-latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [focal, jammy, rhel8, rhel9]
steps:
- uses: actions/checkout@v4
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Cache Vagrant boxes
uses: actions/cache@v3
with:
Expand All @@ -38,6 +43,8 @@ jobs:
cache: pip
- name: Run tests in Vagrant
run: |
apt-get update -qq
apt-get install -y virtualbox
pip install --upgrade pip
python -m venv env
source env/bin/activate
Expand Down

0 comments on commit eecb67e

Please sign in to comment.