소스 검색

ci: Use prebuilt poetry container for tests

Sean 3 년 전
부모
커밋
5fe219bb59
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      .drone.yml

+ 1 - 3
.drone.yml

@@ -4,7 +4,7 @@ name: default
 
 steps:
   - name: test
-    image: python:3.10
+    image: git.snas.black-burn.ch/sean/poetry-in-a-container:3.10
     volumes:
       - name: poetry_cache
         path: /root/.cache/pypoetry/virtualenvs
@@ -15,8 +15,6 @@ steps:
       - name: pre_commit_environments
         path: /root/.cache/pre-commit
     commands:
-      - curl -sSL https://install.python-poetry.org | python3 -
-      - export PATH="/root/.local/bin:$PATH"
       - poetry install
       - poetry run pre-commit run -a