actions: fix python and apt-get
default / test-lint (push) Failing after 18s Details
default / publish-deploy (push) Failing after 15s Details
default / docker-publish (push) Successful in 1m31s Details

pictuga 2023-06-24 00:53:29 +02:00
parent 4340b678d0
commit 394ad04807
1 changed files with 4 additions and 6 deletions

View File

@ -11,11 +11,8 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: https://github.com/actions/setup-python@v2
with:
python-version: 3.x
- run: pip install --upgrade pip
- run: pip install .[full] .[dev]
- run: apt-get update && apt-get install python3-pip
- run: pip3 install .[full] .[dev]
- run: isort --check-only --diff .
- run: pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8
- run: pytest --cov=morss tests
@ -28,7 +25,8 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- run: apt-get update && apt-get install python3-pip python3-build
- run: python3 -m build
- name: Publish package
uses: https://github.com/pypa/gh-action-pypi-publish@release/v1
with: