File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,13 @@ jobs:
2626 uses : actions/setup-python@v3
2727 with :
2828 python-version : ${{ matrix.python-version }}
29+ - name : Install Poetry
30+ run : |
31+ curl -sSL https://install.python-poetry.org | python3 -
32+ export PATH="$HOME/.local/bin:$PATH"
2933 - name : Install dependencies
3034 run : |
31- python -m pip install --upgrade pip
32- python -m pip install flake8 pytest
33- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
35+ poetry install
3436 - name : Lint with flake8
3537 run : |
3638 # stop the build if there are Python syntax errors or undefined names
5456 uses : actions/setup-python@v3
5557 with :
5658 python-version : ' 3.x'
57- - name : Install Poetry
58- run : |
59- curl -sSL https://install.python-poetry.org | python3 -
60- export PATH="$HOME/.local/bin:$PATH"
61- - name : Install dependencies
62- run : |
63- poetry install
6459 - name : Build package
6560 run : python setup.py sdist bdist_wheel
6661 - name : Publish package
You can’t perform that action at this time.
0 commit comments