Skip to content

Commit

Permalink
main.yml: Save CI resources + document why each version is covered
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Dec 10, 2023
1 parent 796dc8d commit b452ea8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8", "pypy-3.9", "pypy-3.10"]
# NOTE: The idea here is:
# - Cover both CPython and PyPy3
# - Cover both the oldest and most recent version supported
# - Cover switch "<3.10" on both sides at the edge, i.e. cover
# both 3.9 (for "<"/true) and 3.10 (for ">="/false)
# since we have a switch like that
# (see `install_requires` in `setup.py` for details)
# That allows us to save resources on:
# - "3.11"
python-version: ["3.8", "3.9", "3.10", "3.12", "pypy-3.8", "pypy-3.9", "pypy-3.10"]

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b452ea8

Please sign in to comment.