Skip to content

Commit 668c057

Browse files
committed
[CI] Remove Python 3.6 support
1 parent 4745039 commit 668c057

File tree

1 file changed

+24
-25
lines changed

1 file changed

+24
-25
lines changed

.github/workflows/test-and-lint.yml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,33 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98
strategy:
109
matrix:
11-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
10+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
1211
fail-fast: false
1312

1413
steps:
15-
- uses: actions/checkout@v2
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
cache: "pip"
21-
cache-dependency-path: "**/poetry.lock"
22-
- name: Install poetry
23-
run: pip --disable-pip-version-check install -U poetry
24-
- name: Install Python packages
25-
run: poetry install
26-
- name: Lint with flake8
27-
run: |
28-
poetry run flake8 --version
29-
poetry run flake8 --show-source --statistics asserts test_asserts.py
30-
- name: Type checking with mypy
31-
run: |
32-
poetry run mypy --version
33-
poetry run mypy asserts test_asserts.py
34-
- name: Test with unittest
35-
run: poetry run python -Wall -m unittest test_asserts
36-
- name: Run doctests
37-
run: poetry run python -m doctest asserts/__init__.py
14+
- uses: actions/checkout@v2
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
cache: "pip"
20+
cache-dependency-path: "**/poetry.lock"
21+
- name: Install poetry
22+
run: pip --disable-pip-version-check install -U poetry
23+
- name: Install Python packages
24+
run: poetry install
25+
- name: Lint with flake8
26+
run: |
27+
poetry run flake8 --version
28+
poetry run flake8 --show-source --statistics asserts test_asserts.py
29+
- name: Type checking with mypy
30+
run: |
31+
poetry run mypy --version
32+
poetry run mypy asserts test_asserts.py
33+
- name: Test with unittest
34+
run: poetry run python -Wall -m unittest test_asserts
35+
- name: Run doctests
36+
run: poetry run python -m doctest asserts/__init__.py

0 commit comments

Comments
 (0)