Skip to content

Commit e30caae

Browse files
committed
dpkg -i, no venv
1 parent 8078bbe commit e30caae

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ jobs:
2323
run: |
2424
# Install deps as root since we will run tests as root
2525
sudo scripts/ci-install-deps.sh
26-
python3 -m venv .venv
27-
source ./.venv/bin/activate
28-
pip install .
26+
scripts/build.sh
27+
sudo dpkg -i ./dist/input-remapper-2.1.1.deb
2928
- name: Run tests
3029
run: |
3130
source ./.venv/bin/activate

scripts/ci-install-deps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ set -xeuo pipefail
55
# native deps
66
# gettext required to generate translations, others are python deps
77
sudo apt-get install -y gettext python3-evdev python3-pydbus python3-pydantic \
8-
python3-gi gir1.2-gtk-3.0 gir1.2-gtksource-4
8+
python3-pydantic-core python3-gi gir1.2-gtk-3.0 gir1.2-gtksource-4
99

1010
# ensure pip and setuptools/wheel up to date so can install all pip modules
11-
sudo apt-get install python3-pip python3-wheel python3-setuptools python3-venv
11+
sudo apt-get install python3-pip python3-wheel python3-setuptools
1212

1313
# install test deps which aren't in setup.py
1414
python -m pip install psutil pylint-pydantic

0 commit comments

Comments
 (0)