Skip to content

Commit 32fbac5

Browse files
authored
add Static Checking action
1 parent 8c0a6ec commit 32fbac5

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Static Checking
2+
3+
on:
4+
push:
5+
branches: '**'
6+
pull_request:
7+
branches: '**'
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: [3.6, 3.7, 3.8]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v1
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -r requirements.txt
27+
pip install -r requirements-dev.txt
28+
- name: CloudFormation Lint
29+
run: cfn-lint -t testing/cloudformation.yaml
30+
- name: Documentation Lint
31+
run: pydocstyle awswrangler/ --add-ignore=D204
32+
- name: mypy check
33+
run: mypy awswrangler
34+
- name: Flake8 Lint
35+
run: flake8 setup.py awswrangler testing/test_awswrangler
36+
- name: Pylint Lint
37+
run: pylint -j 0 awswrangler

0 commit comments

Comments
 (0)