diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml new file mode 100644 index 000000000..cff2f940d --- /dev/null +++ b/.github/workflows/tag-and-release.yml @@ -0,0 +1,12 @@ +--- +name: Tag & Release +'on': + push: + branches: + - stackhpc/master +permissions: + actions: read + contents: write +jobs: + tag-and-release: + uses: stackhpc/.github/.github/workflows/tag-and-release.yml@main diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml new file mode 100644 index 000000000..8713f0e02 --- /dev/null +++ b/.github/workflows/tox.yml @@ -0,0 +1,7 @@ +--- +name: Tox Continuous Integration +'on': + pull_request: +jobs: + tox: + uses: stackhpc/.github/.github/workflows/tox.yml@main diff --git a/tox.ini b/tox.ini index 52374cd75..c4544d263 100644 --- a/tox.ini +++ b/tox.ini @@ -64,7 +64,10 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,api-ref # W503 line break before binary operator # W504 line break after binary operator # E402 module level import not at top of file -ignore=H105,H238,E123,E402,W503,W504 +# NOTE(seunghun1ee): Remove C901 when ManagerService.create_lease() +# in /blazar/manager/service.py get refactored +# C901 Function is too complex +ignore=H105,H238,E123,E402,W503,W504,C901 # [H904] Delay string interpolations at logging calls. enable-extensions=H904 # To get a list of functions that have a complexity of 17 or more, set