Skip to content

VMs

VMs #51

Workflow file for this run

name: VMs
on:
workflow_dispatch:
inputs:
variants:
default: freebsd openbsd netbsd solaris dragonflybsd omnios
env:
test_code: |
export FORCE_COLOR=1
. env/bin/activate
pip install -Ue . -r tests/requirements.txt psutil
./test
python stdlib/availability.py
jobs:
freebsd:
runs-on: ubuntu-latest
if: contains(inputs.variants, 'freebsd')
steps:
- uses: actions/checkout@v4
- uses: vmactions/freebsd-vm@v1
with:
run: |
pkg install -y python311
python3.11 -m venv env
${{ env.test_code }}
openbsd:
runs-on: ubuntu-latest
if: contains(inputs.variants, 'openbsd')
steps:
- uses: actions/checkout@v4
- uses: vmactions/openbsd-vm@v1
with:
run: |
pkg_add python3
python3 -m venv env
${{ env.test_code }}
solaris:
runs-on: ubuntu-latest
if: contains(inputs.variants, 'solaris')
steps:
- uses: actions/checkout@v4
- uses: vmactions/openbsd-vm@v1
with:
run: |
python -m venv env
${{ env.test_code }}