mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-23 13:08:11 +08:00
Add twine check and fix readme (#216)
* Add twine check * add poetry to install * move up remove black/flake formatting * fix path * fix? * fix rst? * add rstcheck * test all files? * all * remove complaining image * only check readme * remove not needed dependencies
This commit is contained in:
@@ -15,6 +15,12 @@ jobs:
|
||||
run: |
|
||||
pipx install ruff==0.4.10
|
||||
ruff format . --check && ruff check .
|
||||
- name: Check twine
|
||||
run: |
|
||||
python -m pip install twine poetry rstcheck
|
||||
poetry build
|
||||
rstcheck README.rst
|
||||
twine check dist/*
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -93,11 +99,7 @@ jobs:
|
||||
- name: Upload to coveralls
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install coveralls flake8 black
|
||||
python -m pip install coveralls
|
||||
coveralls --service=github --finish
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Check flake8/black
|
||||
run: |
|
||||
flake8 .
|
||||
black --check .
|
||||
|
||||
Reference in New Issue
Block a user