@@ -12,68 +12,73 @@ jobs:
1212 installation :
1313 strategy :
1414 matrix :
15- os : [ubuntu-18.04, windows-latest, macos-latest]
16- python-version : [3.6, 3.7, 3.8, 3.9]
17-
15+ os : [ubuntu-20.04, ubuntu-latest, windows-latest, macos-latest]
16+ python-version : [3.7, 3.8, 3.9]
1817 runs-on : ${{ matrix.os }}
1918
2019 steps :
21- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v3
2221 with :
2322 submodules : true
23+
2424 - name : Set up Python ${{ matrix.python-version }}
25- uses : actions/setup-python@v1
25+ uses : actions/setup-python@v4
2626 with :
2727 python-version : ${{ matrix.python-version }}
28- - name : Install poetry
29- run : |
30- pip install poetry
31- shell : bash
28+
29+ - name : Install Poetry
30+ uses : abatilo/actions- poetry@v2
31+
3232 - name : Set poetry env
3333 run : |
34- poetry config virtualenvs.create false
35- poetry install --no-root --no-dev
36- pip install taskipy cython
34+ pip install --upgrade pip
35+ pip install taskipy cython toml
36+ poetry install --only main
3737 task build -f sdist
3838 pip uninstall --yes taskipy cython
3939 shell : bash
40+
4041 - name : Install package artifact
4142 run : |
4243 pip install dist/dxfeed*
4344 pip uninstall --yes dxfeed
4445 shell : bash
46+
4547 tests :
4648 needs : installation
4749 strategy :
4850 matrix :
49- os : [ubuntu-18.04, windows-latest, macos-latest]
50- python-version : [3.6, 3.7, 3.8, 3.9]
51-
51+ os : [ubuntu-20.04, ubuntu-latest, windows-latest, macos-latest]
52+ python-version : [3.7, 3.8, 3.9]
5253 runs-on : ${{ matrix.os }}
5354
5455 steps :
55- - uses : actions/checkout@v2
56+ - uses : actions/checkout@v3
5657 with :
5758 submodules : true
59+
5860 - name : Set up Python ${{ matrix.python-version }}
59- uses : actions/setup-python@v1
61+ uses : actions/setup-python@v4
6062 with :
6163 python-version : ${{ matrix.python-version }}
62- - name : Install poetry
63- run : |
64- pip install poetry
65- shell : bash
64+
65+ - name : Install Poetry
66+ uses : abatilo/actions- poetry@v2
67+
6668 - name : Set poetry env
6769 run : |
68- poetry config virtualenvs.create false
69- poetry install --no-root
70+ pip install --upgrade pip
71+ pip install taskipy cython toml
72+ poetry install
7073 shell : bash
74+
7175 - name : Run tests
7276 run : |
73- task test
77+ poetry run task test
7478 shell : bash
79+
7580 - name : Generate doc
81+ if : matrix.os == 'ubuntu-20.04' && matrix.python-version == 3.7
7682 run : |
77- task html_docs
83+ poetry run task html_docs
7884 shell : bash
79- if : matrix.os == 'ubuntu-18.04' && matrix.python-version == 3.7
0 commit comments