Add support for regex in response_strings (#327) #156
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: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- python: 3.x | |
toxenv: pep8 | |
- python: 3.7 | |
toxenv: py37 | |
- python: 3.8 | |
toxenv: py38 | |
- python: 3.9 | |
toxenv: py39 | |
- python: "3.10" | |
toxenv: py310 | |
- python: "3.11" | |
toxenv: py311 | |
- python: "3.12" | |
toxenv: py312 | |
- python: pypy-3.8 | |
toxenv: pypy3 | |
- python: 3.7 | |
toxenv: py37-pytest | |
- python: 3.8 | |
toxenv: py38-pytest | |
- python: 3.9 | |
toxenv: py39-pytest | |
- python: "3.10" | |
toxenv: py310-pytest | |
- python: "3.11" | |
toxenv: py311-pytest | |
- python: "3.12" | |
toxenv: py312-pytest | |
- python: 3.9 | |
toxenv: py39-failskip | |
- python: 3.9 | |
toxenv: py39-limit | |
- python: 3.9 | |
toxenv: py39-prefix | |
name: ${{ matrix.toxenv }} on Python ${{ matrix.python }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: pip install tox | |
- run: tox | |
env: | |
TOXENV: ${{ matrix.toxenv }} | |
# Skip network using tests as they are unreliable | |
GABBI_SKIP_NETWORK: true |