Skip to content

Add build.tools to RTD config #908

Add build.tools to RTD config

Add build.tools to RTD config #908

Workflow file for this run

name: CI
on:
push:
pull_request:
# Run CI once a week even without code changes to ensure tests pass with
# updated dependencies.
schedule:
- cron: '0 0 * * 5'
# Allow triggering a CI run from the web UI.
workflow_dispatch:
jobs:
Format:
name: 🐍 Format
runs-on: ubuntu-latest
steps:
- name: 🧰 Checkout
uses: actions/checkout@v2
- name: 🐍 Setup Python ${{ matrix.pyver }}
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: 🚦 Run pre-commit Action
uses: pre-commit/[email protected]
Build:
strategy:
fail-fast: false
matrix:
os:
- { icon: 🐧, name: ubuntu }
#- { icon: 🍎, name: macos }
#- { icon: 🧊, name: windows }
pyver:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
runs-on: ${{ matrix.os.name }}-latest
name: ${{ matrix.os.icon }} ${{ matrix.os.name }} | ${{ matrix.pyver }}
steps:
- name: 🧰 Repository Checkout
uses: actions/checkout@v2
- name: 🐍 Set up Python ${{ matrix.pyver }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.pyver }}
- name: πŸ› οΈ Install dependencies
run: |
python -c "import sys; print(sys.version)"
pip install tox
- name: 🚧 Build package and run tests with tox
run: tox -e py