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 1
1
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
3
4
- name : Python package
4
+ name : continuous0integration
5
5
6
- on : [push, pull_request]
6
+ on :
7
+ push :
8
+ branches : [master]
9
+ tags :
10
+ - ' v*'
11
+ pull_request :
7
12
8
13
jobs :
9
14
@@ -13,17 +18,11 @@ jobs:
13
18
14
19
steps :
15
20
- uses : actions/checkout@v2
16
- - name : Set up Python 3.7
21
+ - name : Set up Python 3.8
17
22
uses : actions/setup-python@v1
18
23
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/[email protected]
27
26
28
27
tests :
29
28
You can’t perform that action at this time.
0 commit comments