Skip to content

Commit

Permalink
Use lts for julia-setup and disclaimer on min version
Browse files Browse the repository at this point in the history
In the package, use lts instead of 1.6 for Test.yml and TestGeneratedPkg.yml.
For the template, in the JuliaMinCIVersion, add information about "min".

Closes #415
  • Loading branch information
abelsiqueira committed Sep 9, 2024
1 parent 1e0c4ca commit c737d99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
version:
- "1.6"
- "lts"
- "1"
os:
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/TestGeneratedPkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
version:
- "1.6"
- "lts"
- "1"
os:
- ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion copier/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
JuliaMinCIVersion:
when: "{{ AnswerStrategy == 'ask' }}"
type: str
help: Minimum Julia version used in the tests (lts defaults to the Long Term Support version)
help: Minimum Julia version used in the tests (min, lts, or a version. See https://github.com/julia-actions/setup-julia#examples for accepted values)
default: "{% if JuliaMinVersion == JULIA_LTS_VERSION %}lts{% else %}{{ JuliaMinVersion }}{% endif %}"
description: |
The Test workflow runs two versions of Julia by default: the latest stable release, which is defined by "1", and this version.
It defaults to either "lts", or the version that you answered in JuliaMinVersion, if it wasn't the LTS.
Also accepts "min", which defaults to the minimum supported version in the compat section of Project.toml, or a version specification. See https://github.com/julia-actions/setup-julia#examples for more options.
AddMacToCI:
when: "{{ AnswerStrategy == 'ask' }}"
Expand Down

0 comments on commit c737d99

Please sign in to comment.