Skip to content

Commit

Permalink
[python-formatting-pipeline] skip unnecessary python installation
Browse files Browse the repository at this point in the history
Changelog: None
Signed-off-by: Manuel Zedel <[email protected]>
  • Loading branch information
mzedel committed Jun 3, 2020
1 parent 77581b5 commit e521c2a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitlab-ci-check-python3-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ stages:
- test

test:check-python3-formatting:
image: debian
image: python:3.8-alpine
stage: test
variables:
BLACK_FORMATTER_VERSION: "19.10b0" # Hard-coded and unconfigurable
before_script:
# Install dependencies
- apt-get update
- apt-get install -yq python3 python3-pip git
- apk add --no-cache git curl bash
- pip3 install black==$BLACK_FORMATTER_VERSION
# Rename the branch we're on, so that it's not in the way for the
# subsequent fetch. It's ok if this fails, it just means we're not on any
Expand Down

0 comments on commit e521c2a

Please sign in to comment.