Skip to content

📚 Update PwBaseWorkChain example #61

📚 Update PwBaseWorkChain example

📚 Update PwBaseWorkChain example #61

Workflow file for this run

name: Continuous integration
on: [push, pull_request]
jobs:
precommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache Python dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: pip-pre-commit-${{ hashFiles('**/setup.json') }}
restore-keys:
pip-pre-commit-
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install python dependencies
run: |
pip install -e.[dev]
- name: Run pre-commit
run:
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )