Skip to content

Commit eff86a2

Browse files
author
LINESKL
committed
Merge branch 'master' of https://github.com/LINESKL/FastAPI
2 parents 4b7698a + f75cec8 commit eff86a2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,16 @@ jobs:
4040
pip install -r requirements.txt
4141
pip install pytest pytest-asyncio pytest-cov
4242
43+
- name: Set PYTHONPATH
44+
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/Нурканат_Алиар_CICD_15" >> $GITHUB_ENV
45+
4346
- name: Run tests
4447
env:
4548
DATABASE_URL: postgresql+asyncpg://lineskin:altel8708@localhost:5432/lineskin
4649
REDIS_URL: redis://localhost:6379/0
4750
SECRET_KEY: test-secret-key-1234567890
4851
run: |
49-
pytest -v --cov=./ --cov-report=xml
52+
python -m pytest Нурканат_Алиар_CICD_15/tests/test_auth.py -v
5053
5154
- name: Upload coverage to Codecov
5255
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)