Skip to content

Commit

Permalink
github actions: install deps with pacman
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Nov 1, 2024
1 parent faf0f2d commit 5ead56a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Python deps
run: python -m pip install -U pytest pytest-asyncio nvchecker requests lxml PyYAML pyalpm structlog python_prctl fluent.runtime
- 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 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

0 comments on commit 5ead56a

Please sign in to comment.