Fix CI
CI / lint_and_test (push) Failing after 10m48s
Details
CI / lint_and_test (push) Failing after 10m48s
Details
This commit is contained in:
parent
4f448f2e64
commit
76988e843e
|
@ -21,11 +21,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
|
|
||||||
|
- name: Cache pip
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.cache/pip
|
||||||
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/requirements-dev.txt') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-pip-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install black ruff pytest
|
pip install -r requirements-dev.txt
|
||||||
|
|
||||||
- name: Run Black
|
- name: Run Black
|
||||||
run: black --check .
|
run: black --check .
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
black
|
||||||
|
ruff
|
||||||
|
pytest
|
||||||
|
pytest-asyncio
|
|
@ -15,5 +15,3 @@ python-jose[cryptography]
|
||||||
passlib[bcrypt]
|
passlib[bcrypt]
|
||||||
tiktoken
|
tiktoken
|
||||||
httpx
|
httpx
|
||||||
pytest
|
|
||||||
pytest-asyncio
|
|
||||||
|
|
Loading…
Reference in New Issue