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