Skip to content

Commit 8c01da3

Browse files
committed
Disabled Py3.6 checks and added flake8.
1 parent affb6b2 commit 8c01da3

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.github/workflows/poetry.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,33 @@ env:
1616
REPORTS_DIR: CI_reports
1717

1818
jobs:
19+
coding-standards:
20+
name: Linting & Coding Standards
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
# see https://github.com/actions/checkout
25+
uses: actions/checkout@v2
26+
- name: Setup Python Environment
27+
# see https://github.com/actions/setup-python
28+
uses: actions/setup-python@v2
29+
with:
30+
python-version: python3.9
31+
architecture: 'x64'
32+
- name: Install poetry
33+
# see https://github.com/marketplace/actions/setup-poetry
34+
uses: Gr1N/setup-poetry@v7
35+
with:
36+
poetry-version: 1.1.8
37+
- uses: actions/cache@v2
38+
with:
39+
path: ~/.cache/pypoetry/virtualenvs
40+
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
41+
- name: Install dependencies
42+
run: poetry install
43+
- name: Run tox
44+
run: poetry run tox -e flake8
45+
1946
build-and-test:
2047
name: Build & Test (Python ${{ matrix.python-version }}
2148
runs-on: ubuntu-latest
@@ -28,7 +55,7 @@ jobs:
2855
- "3.9" # highest supported
2956
- "3.8"
3057
- "3.7"
31-
- "3.6" # lowest supported
58+
# - "3.6" # lowest supported
3259
timeout-minutes: 30
3360
steps:
3461
- name: Checkout

0 commit comments

Comments
 (0)