Skip to content

Improved Docker images (#6080) #7457

Improved Docker images (#6080)

Improved Docker images (#6080) #7457

Workflow file for this run

name: continuous-integration-style
on:
push:
branches-ignore: [gh-pages]
pull_request:
branches-ignore: [gh-pages]
jobs:
pre-commit:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install system dependencies
# note libkrb5-dev is required as a dependency for the gssapi pip install
run: |
sudo apt update
sudo apt install libkrb5-dev ruby ruby-dev
- name: Install python dependencies
run: |
pip install --upgrade pip
pip install -r requirements/requirements-py-3.9.txt
pip install -e .[pre-commit]
pip freeze
- name: Run pre-commit
run:
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )