input-remapper/scripts/ci-install-deps.sh
Luna Nova ee6b48ac32
Add github actions workflows (#267)
* 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
2022-02-07 17:52:41 +01:00

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