Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Reconfigure build matrix for Python 3.11 and PyPy 3.9 #456

Merged
merged 4 commits into from
May 25, 2022
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 15 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,34 @@ on:
push:
branches: [main]
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-10.15, macos-11, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.7"]
exclude:
- os: macos-10.15
python-version: "3.8"
- os: macos-10.15
python-version: "3.9"
- os: macos-10.15
python-version: "pypy-3.7"
- os: macos-11
python-version: "3.8"
- os: macos-11
python-version: "3.9"
- os: macos-11
python-version: "pypy-3.7"
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev", "pypy-3.8", "pypy-3.9"]
include:
- os: macos-latest
python-version: "3.10"
- os: windows-latest
python-version: "3.8"
python-version: "3.10"
- os: macos-latest
python-version: "pypy-3.9"
- os: windows-latest
python-version: "3.9"
- os: windows-latest
python-version: "pypy-3.7"
python-version: "pypy-3.9"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: pip-test-${{ matrix.python-version }}-${{ matrix.os }}
Expand Down