use parallels instead of virtualbox in vagrant VM tests #118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Distro and LVM tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: '17 20 * * *' | |
jobs: | |
vagrant: | |
strategy: | |
matrix: | |
vagrant_target: | |
- debian | |
- debianrustup | |
- debianlvm | |
- rocky9 | |
- fedora33 | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Parallels | |
run: | | |
curl -o parallels.dmg $PARALLELS_DMG_URL | |
hdiutil attach parallels.dmg | |
sudo open -a "/Volumes/Parallels Desktop "*"/Install.app" | |
sudo cp -R "/Volumes/Parallels Desktop "*"/Parallels Desktop.app" /Applications | |
ls "/Applications/Parallels Desktop.app/Contents/MacOS" | |
- name: Start vagrant box | |
run: | | |
PATH="/Applications/Parallels Desktop.app/Contents/MacOS/:$PATH" | |
vagrant plugin install vagrant-parallels | |
vagrant up --provider parallels ${{ matrix.vagrant_target }} |