22 lines
815 B
YAML
22 lines
815 B
YAML
on: [ push, pull_request ]
|
|
name: pytest test validation
|
|
jobs:
|
|
pytest:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: archlinux/archlinux:latest
|
|
options: --privileged
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
- name: Prepare arch
|
|
run: |
|
|
pacman-key --init
|
|
pacman --noconfirm -Sy archlinux-keyring
|
|
pacman --noconfirm -Syyu
|
|
pacman --noconfirm -Sy python-pip python-pyparted pkgconfig gcc
|
|
- run: pip install --break-system-packages --upgrade pip
|
|
- name: Install archinstall dependencies
|
|
run: pip install --break-system-packages .[dev]
|
|
- name: Test with pytest
|
|
run: pytest
|