diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fd9449e..e4deebb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,10 +21,10 @@ jobs: steps: - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure Python version - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" @@ -49,21 +49,31 @@ jobs: needs: Validate if: github.repository_owner == 'explosion' strategy: - fail-fast: false + fail-fast: true matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python_version: ["3.12"] + include: + - os: ubuntu-latest + python_version: "3.7" + - os: windows-latest + python_version: "3.8" + - os: macos-latest + python_version: "3.9" + - os: macos-latest + python_version: "3.10" + - os: windows-latest + python_version: "3.11" runs-on: ${{ matrix.os }} steps: - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure Python version - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} - architecture: x64 - name: Build sdist run: | @@ -105,7 +115,7 @@ jobs: run: | python -m pytest --pyargs $MODULE_NAME -Werror - - name: Test spacy project CLI help/info messages + - name: Test 'spacy project' CLI help/info messages shell: bash run: | python -m pip install spacy