name: CI on: pull_request: {} push: {} jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3 uses: actions/setup-python@v2 with: python-version: '3.x' - name: Install dependencies run: | python3 -m pip install --upgrade pip python3 -m pip install tox tox-gh-actions - run: tox -e lint check-docs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3 uses: actions/setup-python@v2 with: python-version: '3.x' - name: Install dependencies run: | python3 -m pip install --upgrade pip python3 -m pip install tox tox-gh-actions - run: tox -e check-docs test: runs-on: ubuntu-latest continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] experimental: [false] include: - python-version: "3.12-dev" experimental: true steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python3 -m pip install --upgrade pip setuptools python3 -m pip install tox tox-gh-actions - run: tox