ci: Use pyenv's python-build to install Python in lint task

This commit is contained in:
Hennadii Stepanov
2023-01-16 13:29:44 +00:00
parent cb32328d1b
commit 9b86114058
2 changed files with 24 additions and 2 deletions

View File

@@ -67,11 +67,14 @@ task:
name: 'lint [bionic]'
<< : *BASE_TEMPLATE
container:
image: ubuntu:bionic # For python 3.6, oldest supported version according to doc/dependencies.md
image: ubuntu:bionic
cpu: 1
memory: 1G
# For faster CI feedback, immediately schedule the linters
<< : *CREDITS_TEMPLATE
python_cache:
folder: "/tmp/python"
fingerprint_script: cat .python-version /etc/os-release
lint_script:
- ./ci/lint_run_all.sh
env: