mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
This ensures that any releases are fully tested before publication. The workflow first builds the distribution files (sdist, wheel) before using a deployment environment to publish these to PyPI, using the GitHub actions OpenID support to authenticate with PyPI.
29 lines
386 B
Makefile
29 lines
386 B
Makefile
up:
|
|
@poetry update
|
|
|
|
deps:
|
|
@poetry install --no-root --with=linting --all-extras
|
|
|
|
format: deps
|
|
@poetry run tox run -e format
|
|
|
|
lint: deps
|
|
@poetry run tox run -e lint
|
|
|
|
test: deps
|
|
@poetry run tox
|
|
|
|
test-parallel: deps
|
|
@poetry run tox run-parallel
|
|
|
|
build: clean deps
|
|
@poetry build
|
|
@poetry run tox run -e lint_distributions
|
|
|
|
clean:
|
|
@rm -rf ./dist
|
|
|
|
# aliases
|
|
check: lint
|
|
style: format
|