Added 'add_trailing_slash' option to WSGIApp and ASGIApp init definitions to be in concordance with this same option being added to engineio #542
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: build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- run: python -m pip install --upgrade pip wheel | |
- run: pip install tox tox-gh-actions | |
- run: tox -eflake8 | |
- run: tox -edocs | |
tests: | |
name: tests | |
strategy: | |
matrix: | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
python: ['pypy-3.10', '3.8', '3.9', '3.10', '3.11', '3.12'] | |
exclude: | |
# pypy3 currently fails to run on Windows | |
- os: windows-latest | |
python: pypy-3.10 | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: python -m pip install --upgrade pip wheel | |
- run: pip install tox tox-gh-actions | |
- run: tox | |
coverage: | |
name: coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- run: python -m pip install --upgrade pip wheel | |
- run: pip install tox tox-gh-actions | |
- run: tox | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: ./coverage.xml | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |