Skip to content

Add FastAPI support

Add FastAPI support #1

Workflow file for this run

name: Build
on:
pull_request:
schedule:
- cron: "0 0 * * 0"
jobs:
build:
strategy:

Check failure on line 9 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 9, Col: 5): Required property is missing: runs-on
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python: ["3.11"]
include:
- python: "3.11"
tox_env: "py311-web"
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: |
python -m pip install --upgrade pip setuptools
pip install tox
- name: Test
run: |
tox -e ${{ matrix.tox_env }}