Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Added MethodNotAllowed #132

Added MethodNotAllowed

Added MethodNotAllowed #132

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Setup Python
run: uv python install ${{ matrix.python-version }}
- name: Run tests
run: |
export PYTHON_VERSION=${{ matrix.python-version }}
export TOX_ENV=`uv run tox --listenvs | grep "py${PYTHON_VERSION//./}-" | tr '\n' ','`
uv run --python ${{ matrix.python-version }} tox -e $TOX_ENV