Skip to content

github actions: install archlinuxcn-keying #60

github actions: install archlinuxcn-keying

github actions: install archlinuxcn-keying #60

Workflow file for this run

name: run tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
# Use the base-devel image of Arch Linux for building pyalpm
container: archlinux:base-devel
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Enable archlinuxcn repo
run: |
echo -e '[archlinuxcn]\nServer = https://repo.archlinuxcn.org/$arch' >> /etc/pacman.conf
pacman -Sy --noconfirm archlinuxcn-keyring
- name: Install Python and deps
run: pacman -Su --noconfirm python python-pytest python-pytest-asyncio nvchecker python-requests python-lxml python-yaml pyalpm python-structlog python-prctl python-fluent.runtime
- name: Run pytest
run: pytest