name: Build and test on: # Build on pushes to master push: branches: - master # Temporarily add for CI on stevepiercy's fork - sphinx-40-compat tags: # Build pull requests pull_request: jobs: test: strategy: fail-fast: true matrix: py: - "3.10" - "3.11" - "3.12" - "3.13" - "3.14" - "pypy-3.11" os: - "ubuntu-latest" name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Setup Python uses: actions/setup-python@v2 with: python-version: ${{ matrix.py }} architecture: ${{ matrix.architecture }} - run: pip install tox - name: Running tox run: tox -e py -- ${{ matrix.pytest-args }} # This block is temporarily commented out to speed up testing and until I add # a lint tox env. # lint: # runs-on: ubuntu-latest # name: Lint the package # steps: # - uses: actions/checkout@v2 # - name: Setup python # uses: actions/setup-python@v2 # with: # python-version: 3.10 # architecture: x64 # - run: pip install tox # - run: tox -e lint