Add filterset_fields lookup expresson to docs (#1460) #322
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: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Ensure latest setuptools | |
run: | | |
python -m pip install --upgrade pip setuptools | |
- name: Install dependencies | |
run: | | |
python -m pip install coverage tox tox-py unittest-xml-reporting | |
- name: Run tox | |
run: | | |
python -m pip --version | |
python -m tox --version | |
python -m tox --py current | |
- name: Coverage reporting | |
run: | | |
coverage combine | |
coverage report -m | |
coverage xml | |
coverage html | |
- name: Publish coverage results | |
uses: codecov/codecov-action@v1 | |
isort: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Ensure latest setuptools | |
run: | | |
python -m pip install --upgrade pip setuptools | |
- name: Install dependencies | |
run: | | |
python -m pip install tox | |
- name: Run tox | |
run: | | |
python -m pip --version | |
python -m tox --version | |
python -m tox -e isort,lint,docs | |
warnings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Ensure latest setuptools | |
run: | | |
python -m pip install --upgrade pip setuptools | |
- name: Install dependencies | |
run: | | |
python -m pip install tox | |
- name: Run tox | |
run: | | |
python -m pip --version | |
python -m tox --version | |
python -m tox -e warnings |