/
Frogog
/
SE_FastAPI_Example
Обзор
Документация
Войти
/
Frogog
/
SE_FastAPI_Example
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
.gitverse/workflows/fastapi.yaml
41 строка
902 B
Frogog
feat: enable auto-run on push
15 май 2026, 13:52
15 май 2026, 13:52
152b0a7
Код
Авторство
О чём код?
name: FastAPI CI on: [push] jobs: test: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.11' - name: Restore cache uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} restore-keys: | ${{ runner.os }}-pip- - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Run tests run: pytest --junitxml=report.xml - name: Lint code run: flake8 . - name: Upload test report uses: actions/upload-artifact@v4 with: name: test-results path: report.xml