Skip to content

Commit

Permalink
Merge pull request #77 from mzedel/skip-a-python-install
Browse files Browse the repository at this point in the history
[python-formatting-pipeline] skip unnecessary python installation
  • Loading branch information
mzedel authored Jun 3, 2020
2 parents db4e457 + e521c2a commit 766c6ed
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 766c6ed

Please sign in to comment.