Skip to content

Merge pull request #631 from quantumlib/release-v0_17_0 #354

Merge pull request #631 from quantumlib/release-v0_17_0

Merge pull request #631 from quantumlib/release-v0_17_0 #354

Workflow file for this run

on:
push:
branches:
# Only check pushes to master
- master
paths:
# Only check formatting when python files are changed.
- '**/*.py'
pull_request:
# Check PRs for all branches
paths:
# Only check formatting when python files are changed.
- '**/*.py'
jobs:
format:
name: Format check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v1
with:
python-version: '3.7'
architecture: 'x64'
- name: Install dev requirements
run: pip install -r dev-requirements.txt
- name: Format
run: check/format-incremental