mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-18 03:25:52 +00:00
ee6b48ac32
* Run linters and unit tests with github actions * Reformat with black, 22.1.0 (compiled: yes) * Remove native deps as should no longer be needed * Remove pylint from workflows * Remove unused Gtk dependency in test_daemon.py * Install subset of python deps with apt-get for ci
15 lines
464 B
Bash
Executable File
15 lines
464 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Called from multiple CI pipelines in .github/workflows
|
|
set -xeuo pipefail
|
|
|
|
# native deps
|
|
# gettext required to generate translations, others are python deps
|
|
sudo apt-get install -y gettext python3-evdev python3-pydbus python3-pydantic
|
|
|
|
# ensure pip and setuptools/wheel up to date so can install all pip modules
|
|
python -m pip install --upgrade pip
|
|
pip install wheel setuptools
|
|
|
|
# install test deps which aren't in setup.py
|
|
pip install psutil
|