소스 검색

branch name

justheuristic 3 년 전
부모
커밋
8684d6402c
2개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 4
      .github/workflows/run-tests.yaml
  2. 2 1
      requirements-dev.txt

+ 4 - 4
.github/workflows/run-tests.yaml

@@ -22,15 +22,15 @@ jobs:
         with:
           path: ~/.cache/pip
           key: Key-v1-py3.9-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}
+      - name: Install dependencies
+        run: |
+          python -m pip install --upgrade pip
+          pip install -r requirements.txt
       - name: Extract branch name
         run: |
           echo $(env)
           python -c "import git; print(git.Repo('.').head.ref.name)"
           exit 255
-      - name: Install dependencies
-        run: |
-          python -m pip install --upgrade pip
-          pip install -r requirements.txt
       - name: Convert small model
         run: |
           python -m cli.convert_model --model bigscience/bloom-350m  --output_path ./converted_model \

+ 2 - 1
requirements-dev.txt

@@ -3,4 +3,5 @@ pytest-forked
 pytest-asyncio==0.16.0
 black==22.3.0
 isort==5.10.1
-psutil
+psutil
+git