Skip to content

Commit

Permalink
[CI] Enable CI for all PRs, fix yapf to 0.31.0, flake8 to 3.9.2 (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
mageofboy authored Mar 17, 2022
1 parent 2b3ad86 commit ac024de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# Controls when the action will run. Triggers the workflow on push
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build-python:
Expand All @@ -29,7 +28,7 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install -r tests/requirements.txt
python -m pip install yapf flake8
python -m pip install yapf==0.31.0 flake8==3.9.2
- name: Check Python formatting
run: |
Expand Down

0 comments on commit ac024de

Please sign in to comment.