File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 10
10
matrix :
11
11
python-version : ['3.6', '3.7', '3.8', '3.9']
12
12
os : ['ubuntu-20.04', 'macos-10.15', 'windows-2019']
13
- include :
14
- - os : ['ubuntu-20.04', 'macos-10.15']
15
- poetry-path : ['$HOME/.poetry/bin']
16
- - os : ['windows-2019']
17
- poetry-path : ['%USERPROFILE%\.poetry\bin']
18
13
fail-fast : false
19
14
name : Python ${{ matrix.python-version }} on ${{ matrix.os }}
20
15
runs-on : ${{ matrix.os }}
@@ -25,17 +20,15 @@ jobs:
25
20
uses : actions/setup-python@v2
26
21
with :
27
22
python-version : ${{ matrix.python-version }}
28
- - name : Install poetry
29
- run : make get-poetry
30
- - name : Enable poetry command
31
- run : echo "${{ matrix.poetry-path }}" >> $GITHUB_PATH
32
- - name : Configure poetry
33
- run : poetry config virtualenvs.create false # disable creating virtual environment
34
23
- name : Install dependencies
35
- run : make install
24
+ run : pip install -r requirements-dev.txt
25
+ shell : bash
36
26
- name : Check code formatting
37
27
run : black --check .
28
+ shell : bash
38
29
- name : Lint code
39
30
run : make lint
31
+ shell : bash
40
32
- name : Run tests with code coverage
41
33
run : make coverage
34
+ shell : bash
You can’t perform that action at this time.
0 commit comments