Skip to content

github actions: --noconfirm #59

github actions: --noconfirm

github actions: --noconfirm #59

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
- name: Install Python and deps
run: pacman -Syu --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