[pre-commit.ci] auto fixes from pre-commit.com hooks #742
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ) |