archinstall/.github/workflows/pytest.yaml

15 lines
494 B
YAML

on: [ push, pull_request ]
name: pytest test validation
jobs:
pytest:
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --privileged
steps:
- uses: actions/checkout@v2
- run: pacman --noconfirm -Syu python python-pip qemu gcc
- run: python -m pip install --upgrade pip
- run: pip install pytest
- name: Test with pytest
run: python -m pytest || exit 0