diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-01-03 21:53:58 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-01-03 21:54:23 +0100 |
commit | ec615abd1fda28cbb8920709ec30874b9067643a (patch) | |
tree | 9a5453c66858bd86fbadf8bdde0d24a67674bae1 | |
parent | 1036ca846e172674105afc36c336493c3d9cc3a7 (diff) | |
download | rneovim-ec615abd1fda28cbb8920709ec30874b9067643a.tar.gz rneovim-ec615abd1fda28cbb8920709ec30874b9067643a.tar.bz2 rneovim-ec615abd1fda28cbb8920709ec30874b9067643a.zip |
ci: install flake8 with apt instead of pip
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rwxr-xr-x | ci/install.sh | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2e1276000..5d906b949c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: Install apt packages run: | sudo apt-get update - sudo apt-get install -y autoconf automake build-essential ccache cmake cpanminus gettext gperf language-pack-tr libtool-bin locales ninja-build pkg-config python3 python3-pip python3-setuptools unzip + sudo apt-get install -y autoconf automake build-essential ccache cmake cpanminus gettext gperf language-pack-tr libtool-bin locales ninja-build pkg-config python3 python3-pip python3-setuptools unzip flake8 - name: Setup interpreter packages run: | diff --git a/ci/install.sh b/ci/install.sh index ea706639fb..bd42274b49 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -3,11 +3,6 @@ set -e set -o pipefail -if [[ "${CI_TARGET}" == lint ]]; then - python3 -m pip -q install --user --upgrade flake8 - exit -fi - # Use default CC to avoid compilation problems when installing Python modules. echo "Install neovim module for Python 3." CC=cc python3 -m pip -q install --user --upgrade pynvim |