Skip to content

r-marnik

r-marnik #749

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.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- 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.10.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 )