Skip to content

Commit 5b0df81

Browse files
committed
Fix install workflow for GH Action
1 parent 91ebadd commit 5b0df81

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/install.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,12 @@ jobs:
5555
arch)
5656
pacman --noconfirm -Sy "${DEPS_COMMON[@]}" systemd-libs python-pip ctags gnupg
5757
;;
58-
centos|fedora)
58+
centos)
5959
dnf config-manager --set-enabled crb
60-
dnf install epel-release epel-next-release
60+
dnf install epel-release
61+
dnf -y install "${DEPS_COMMON[@]}" systemd-devel python3-devel python3-pip ctags gnupg2
62+
;;
63+
fedora)
6164
dnf -y install "${DEPS_COMMON[@]}" systemd-devel python3-devel python3-pip ctags gnupg2
6265
;;
6366
ubuntu|debian)
@@ -69,17 +72,15 @@ jobs:
6972
exit 1
7073
esac
7174
72-
python3 -m pip install --break-system-packages pytest sphinx build
73-
7475
- name: Install uv
7576
uses: astral-sh/setup-uv@v5
7677

7778
- name: Install & test
7879
shell: bash
7980
run: |
8081
set -x
81-
python3 -m build
82-
python3 -m pip install -I -v --break-system-packages .
82+
uv build
83+
uv sync --no-editable
8384
# Avoid importing the systemd module from the git repository
8485
cd /
8586
python3 -c 'from systemd import journal; print(journal.__version__)'

0 commit comments

Comments
 (0)