diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 258d69b..0742734 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -2,6 +2,7 @@ name: Pipeline on: + workflow_dispatch: push: branches-ignore: - gh-pages @@ -9,7 +10,7 @@ on: - docs-* pull_request: release: - types: [published] + types: [published, edited] jobs: lint: diff --git a/tests/testapp/server.py b/tests/testapp/server.py index 2257eba..372db07 100644 --- a/tests/testapp/server.py +++ b/tests/testapp/server.py @@ -59,6 +59,5 @@ async def test(request): auth_provider.configure_app(app) - if __name__ == "__main__": - uvicorn.run(app, host='0.0.0.0', debug=True, port=8000, log_level='debug') + uvicorn.run('server:app', host='0.0.0.0', debug=True, port=8000, log_level='debug', reload=True)