Skip to content

Bump fastapi from 0.79.1 to 0.110.0 #278

Bump fastapi from 0.79.1 to 0.110.0

Bump fastapi from 0.79.1 to 0.110.0 #278

Workflow file for this run

name: Sending Build
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10"]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup nox
uses: daisylb/[email protected]
- name: Setup poetry
uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.2.0
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libzmq3-dev
poetry export -f requirements.txt --extras "all" --without-hashes --with dev --output requirements.txt
pip install -r requirements.txt
- name: Setup Redis
uses: ./.github/actions/setup-redis
- name: Run tests
run: nox -s test-${{ matrix.python_version }}
- name: Generate coverage XML
run: nox -s generate_coverage_xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup nox
uses: daisylb/[email protected]
- name: Setup poetry
uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.2.0
- name: Install dependencies
run: |
poetry export -f requirements.txt --extras "all" --without-hashes --with dev --output requirements.txt
pip install -r requirements.txt
- name: Run lint
run: nox -s lint