diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b81e40954ac8b17fe884ff8b9250263088f21054..0c51f76a06f0f5c0426998eeafbc03c670cb40bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,7 @@ Python Code Lint: Static Type: stage: check + allow_failure: true script: - mypy . --exclude 'setup\.py$' # We can remove the flag once this is resolved https://github.com/pypa/setuptools/issues/2345 @@ -37,6 +38,7 @@ Publish to pypi and update repository: - git config --global user.name ${GITLAB_USER_NAME} - git add pyproject.toml - git commit -m "Bump version" - - git remote add local https://${ACCESS_TOKEN_NAME}:${ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git && git push -o ci.skip local HEAD:master && poetry publish --build --username ${PYPI_USER} --password ${PYPI_PASSWORD} + - git remote set-url origin https://${ACCESS_TOKEN_NAME}:${ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git + - git push -o ci.skip origin HEAD:master && poetry publish --build --username ${PYPI_USER} --password ${PYPI_PASSWORD} only: - master