mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-12 19:09:56 +03:00
CI: Use install_mypy.sh
Reduces repetition.
This commit is contained in:
parent
6465a6aa87
commit
0fed730474
1 changed files with 2 additions and 2 deletions
|
@ -4,11 +4,11 @@
|
|||
|
||||
if [ "$(id -u)" = 0 ]; then
|
||||
set -x
|
||||
apk -q add py3-argcomplete py3-pip
|
||||
wget https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_mypy.sh
|
||||
sh ./install_mypy.sh py3-argcomplete
|
||||
exec su "${TESTUSER:-build}" -c "sh -e $0"
|
||||
fi
|
||||
|
||||
set -x
|
||||
|
||||
pip install --break-system-packages --no-warn-script-location mypy
|
||||
python -m mypy pmbootstrap.py
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue