File tree 2 files changed +30
-21
lines changed
2 files changed +30
-21
lines changed Original file line number Diff line number Diff line change 1
- name : Python package
1
+ name : Powertools Python
2
2
3
3
on :
4
+ pull_request :
5
+ branches :
6
+ - develop
7
+ - master
8
+ paths :
9
+ - " python/**"
4
10
push :
11
+ branches :
12
+ - develop
13
+ - master
5
14
paths :
6
- - ' python/**'
15
+ - " python/**"
7
16
8
17
jobs :
9
18
build :
10
-
11
19
runs-on : ubuntu-latest
12
20
strategy :
13
21
max-parallel : 4
14
22
matrix :
15
23
python-version : [3.6, 3.7]
16
24
steps :
17
- - uses : actions/checkout@v1
18
- - name : Set up Python ${{ matrix.python-version }}
19
- uses : actions/setup-python@v1
20
- with :
21
- python-version : ${{ matrix.python-version }}
22
- - name : Install dependencies
23
- run : |
24
- python -m pip install --upgrade pip
25
- make dev
26
- working-directory : ./python/
27
- - name : Formatting and Linting
28
- run : |
29
- make lint
30
- working-directory : ./python/
31
- - name : Test with pytest
32
- run : |
33
- make test
34
- working-directory : ./python/
25
+ - uses : actions/checkout@v1
26
+ - name : Set up Python ${{ matrix.python-version }}
27
+ uses : actions/setup-python@v1
28
+ with :
29
+ python-version : ${{ matrix.python-version }}
30
+ - name : Install dependencies
31
+ run : |
32
+ python -m pip install --upgrade pip
33
+ make dev
34
+ working-directory : ./python/
35
+ - name : Formatting and Linting
36
+ run : |
37
+ make lint
38
+ working-directory : ./python/
39
+ - name : Test with pytest
40
+ run : |
41
+ make test
42
+ working-directory : ./python/
Original file line number Diff line number Diff line change 3
3
@$(MAKE ) pr
4
4
5
5
dev :
6
+ pip install --upgrade pipenv
6
7
pipenv install
7
8
pipenv install -d
8
9
You can’t perform that action at this time.
0 commit comments