|
|
|
@ -8,7 +8,7 @@ jobs:
|
|
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
|
strategy: |
|
|
|
|
matrix: |
|
|
|
|
os: [ubuntu-20.04, windows-2019] |
|
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest] |
|
|
|
|
python-version: ["3.7", "3.8", "3.9", "3.10"] |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|
|
|
|
- name: Run tests on ${{ matrix.os }} |
|
|
|
|
run: nox --non-interactive --error-on-missing-interpreter --session "tests-${{ matrix.python-version }}" -- --full-trace |
|
|
|
|
lint: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
- name: Set up Python 3.9 |
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|
|
|
|
- name: Lint |
|
|
|
|
run: nox --non-interactive --error-on-missing-interpreter --session "lint" |
|
|
|
|
docs: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
- name: Set up Python 3.9 |
|
|
|
@ -54,7 +54,7 @@ jobs:
|
|
|
|
|
run: nox --non-interactive --error-on-missing-interpreter --session "docs" |
|
|
|
|
deploy: |
|
|
|
|
needs: build |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|