From a62e055e7f9d833efed0755c27a1412aeb722bce Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Thu, 17 Jun 2021 11:21:53 +0800 Subject: [PATCH] fix ci --- .circleci/config.yml | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5608117..f28c922 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,39 +12,26 @@ orbs: workflows: build-test-publish: jobs: - - install - - test: - requires: - - install - - build: + - test + - build-publish: requires: - test filters: tags: only: /^v.*/ - - publish: - requires: - - build - filters: - tags: - only: /^v.*/ jobs: - install: + test: docker: - image: cimg/python:3.9 steps: - checkout - poetry/install - test: - docker: - - image: cimg/python:3.9 - steps: - poetry/shell: args: pytest --junitxml=test-results/junit.xml - store_test_results: path: test-results - build: + build-publish: docker: - image: cimg/python:3.9 steps: @@ -53,9 +40,5 @@ jobs: path: dist - swissknife/publish_github_release: tag: ${CIRCLE_TAG} - publish: - docker: - - image: cimg/python:3.9 - steps: - run: poetry publish -u $PYPI_USERNAME -p $PYPI_PASSWORD