Skip to content

Commit 87ca83f

Browse files
authored
Add static checking for dev branch
1 parent a451e73 commit 87ca83f

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

.github/workflows/static-checking.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ name: Static Checking
33
on:
44
push:
55
branches:
6-
- master
6+
- master
7+
- dev
78
pull_request:
89
branches:
9-
- master
10+
- master
11+
- dev
1012

1113
jobs:
1214
build:
@@ -17,23 +19,23 @@ jobs:
1719
python-version: [3.6]
1820

1921
steps:
20-
- uses: actions/checkout@v2
21-
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v1
23-
with:
24-
python-version: ${{ matrix.python-version }}
25-
- name: Install dependencies
26-
run: |
27-
python -m pip install --upgrade pip
28-
pip install -r requirements.txt
29-
pip install -r requirements-dev.txt
30-
- name: CloudFormation Lint
31-
run: cfn-lint -t testing/cloudformation.yaml
32-
- name: Documentation Lint
33-
run: pydocstyle awswrangler/ --add-ignore=D204
34-
- name: mypy check
35-
run: mypy awswrangler
36-
- name: Flake8 Lint
37-
run: flake8 setup.py awswrangler testing/test_awswrangler
38-
- name: Pylint Lint
39-
run: pylint -j 0 awswrangler
22+
- uses: actions/checkout@v2
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v1
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install -r requirements.txt
31+
pip install -r requirements-dev.txt
32+
- name: CloudFormation Lint
33+
run: cfn-lint -t testing/cloudformation.yaml
34+
- name: Documentation Lint
35+
run: pydocstyle awswrangler/ --add-ignore=D204
36+
- name: mypy check
37+
run: mypy awswrangler
38+
- name: Flake8 Lint
39+
run: flake8 setup.py awswrangler testing/test_awswrangler
40+
- name: Pylint Lint
41+
run: pylint -j 0 awswrangler

0 commit comments

Comments
 (0)