Skip to content

Commit

Permalink
further slim down build matrix, reasoning in config comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Jan 12, 2025
1 parent 80329a4 commit 274516a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:

strategy:
matrix:
# Run a full matrix only for the last 3 versions (where possible)
elixir_version: ['1.16.3', '1.17.3', '1.18.1']
otp_version: ['25.3', '26.2', '27.2']
# Spot check older versions
# Run tests at least once for every supported elixir or erlang version
#
# Since all the code is running at least once with each version, that should cover enough.
# Like, what are the chances a bug would happen on 1.18@26 but not on 1.17@26 or 1.18@27?
# And if it does, it's more likely an elixir bug than a benchee bug. We'll see.
# We've been using enough of githubs CI resources and our own wait time :)
#
# Goal is to have old versions (elixir and erlang) have basically one test each.
# That should be enough to affirm that they are working ok.
# https://hexdocs.pm/elixir/compatibility-and-deprecations.html#between-elixir-and-erlang-otp
include:
- elixir_version: '1.7.4'
Expand All @@ -39,8 +39,11 @@ jobs:
otp_version: '23.3'
- elixir_version: '1.15.7'
otp_version: '24.3'
exclude:
- elixir_version: '1.16.3'
otp_version: '25.3'
- elixir_version: '1.17.3'
otp_version: '26.2'
- elixir_version: '1.18.1'
otp_version: '27.2'

steps:
Expand Down

0 comments on commit 274516a

Please sign in to comment.