File tree Expand file tree Collapse file tree 2 files changed +10
-23
lines changed Expand file tree Collapse file tree 2 files changed +10
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33
4- name : Python package
4+ name : continuous0integration
55
6- on : [push, pull_request]
6+ on :
7+ push :
8+ branches : [master]
9+ tags :
10+ - ' v*'
11+ pull_request :
712
813jobs :
914
@@ -13,17 +18,11 @@ jobs:
1318
1419 steps :
1520 - uses : actions/checkout@v2
16- - name : Set up Python 3.7
21+ - name : Set up Python 3.8
1722 uses : actions/setup-python@v1
1823 with :
19- python-version : 3.7
20- - name : Install dependencies
21- run : |
22- python -m pip install --upgrade pip
23- pip install -e .[code_style]
24- - name : Run pre-commit
25- run : |
26- pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
24+ python-version : 3.8
25+ - uses : pre-commit/action@v2.0.0
2726
2827 tests :
2928
You can’t perform that action at this time.
0 commit comments