pip(deps): bump fastapi from 0.112.2 to 0.115.0 #474
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: tests | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Trunk Check | |
uses: trunk-io/trunk-action@v1 | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test: [unit, api] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install poetry | |
run: pip install poetry | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: poetry | |
- name: Install dependencies | |
run: poetry install | |
- name: Run tests | |
run: poetry run pytest tests/${{ matrix.test }} --cov=. --cov-report=xml | |
- name: Upload test coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
flags: ${{ matrix.test }} | |
token: ${{ secrets.CODECOV_TOKEN }} | |
if: always() |