Skip to content

Commit

Permalink
github actions: install archlinuxcn-keying
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Nov 1, 2024
1 parent 381b489 commit c0e4703
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
uses: actions/checkout@v4

- name: Enable archlinuxcn repo
run: echo -e '[archlinuxcn]\nServer = https://repo.archlinuxcn.org/$arch' >> /etc/pacman.conf
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 -Syu --noconfirm python python-pytest python-pytest-asyncio nvchecker python-requests python-lxml python-yaml pyalpm python-structlog python-prctl python-fluent.runtime
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

0 comments on commit c0e4703

Please sign in to comment.