@@ -4,34 +4,33 @@ on: [push]
4
4
5
5
jobs :
6
6
build :
7
-
8
7
runs-on : ubuntu-latest
9
8
strategy :
10
9
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"]
12
11
fail-fast : false
13
12
14
13
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