File tree Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -28,22 +28,18 @@ jobs:
28
28
with :
29
29
python-version : ${{ matrix.python-version }}
30
30
31
- - name : Upgrade pip version
32
- run : |
33
- python -m pip install --upgrade pip
31
+ - name : Install Poetry
32
+ uses : snok/install-poetry@v1
34
33
35
- - name : Install requirements
36
- run : |
37
- pip install -r requirements.txt
38
- pip install -r docs/requirements.txt
34
+ - name : ' Install dependencies'
35
+ run : poetry install
39
36
40
37
- name : Build package
41
- run : |
42
- python -m pip install .
38
+ run : poetry build
43
39
44
40
- name : Run tests
45
41
run : |
46
- python -m pytest --doctest-modules --cov=./ --cov-report=xml -s
42
+ poetry run pytest --doctest-modules --cov=./ --cov-report=xml -s
47
43
48
44
- name : Upload Coverage
49
45
uses : codecov/codecov-action@v2
57
53
name : codecov-umbrella
58
54
path_to_write_report : ./coverage/codecov_report.txt
59
55
verbose : true
60
-
61
- - name : Build Documentation
62
- run : |
63
- sphinx-build -b html docs/source/ docs/build/html
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
- name = " cz- pydatastructs"
2
+ name = " pydatastructs"
3
3
version = " 1.0.1-dev"
4
4
description = " A python package for data structures"
5
5
authors = [" PyDataStructs Development Team" ]
You can’t perform that action at this time.
0 commit comments