Add configuration for RTD #55
Workflow file for this run
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: PyFeeds CI | |
on: [push] | |
# Run tests against each supported version while docs and check-style are only | |
# considered on the latest supported version. | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: | |
- version: "3.8" | |
toxenv: py38 | |
- version: "3.9" | |
toxenv: py39 | |
- version: "3.10" | |
toxenv: py310 | |
- version: "3.11" | |
toxenv: py311 | |
- version: "3.12" | |
toxenv: py312,docs,check-style | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python.version }} and tox ${{ matrix.python.toxenv }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python.version }} | |
- name: Install Tox | |
run: | | |
pip install tox | |
- name: Run Tox | |
run: | | |
tox -e ${{ matrix.python.toxenv }} |