Skip to content

Commit

Permalink
chore: Adjust project to be able to run tests with latest Julia 1.*
Browse files Browse the repository at this point in the history
* adjust `Project.toml` to make project compatible with any Julia 1.*;
* add explicit dependency updates to CI.yml;
* use latest Julia 1.* for CI tests (in addition to 1.6 for backward
  compatibility checks).
  • Loading branch information
dhanak committed Sep 29, 2023
1 parent ea4b112 commit a83ed5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
build:
strategy:
matrix:
# Test with Julia 1.6 (lowest compat version) and latest Julia 1.8
julia-version: ["1.6", "1.8"]
# Test with Julia 1.6 (lowest compat version) and latest Julia 1
julia-version: ["1.6", "1"]

# The type of runner that the job will run on
runs-on: ubuntu-latest
Expand All @@ -34,6 +34,12 @@ jobs:
with:
version: ${{ matrix.julia-version }}

- name: Cache artifacts and packages
uses: julia-actions/cache@v1

# Upgrade packages (workaround for commited Manifest.toml)
- run: julia --project -e 'using Pkg; Pkg.instantiate(); Pkg.update()'

- name: Run Pkg.build
uses: julia-actions/julia-buildpkg@v1

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ DocOpt = "0.4 - 0.5"
Dumper = "0.2.1"
HDF5 = "0.15 - 0.16"
ProgressMeter = "1"
julia = "1.6.2 - 1.8"
julia = "1.6.7"

0 comments on commit a83ed5c

Please sign in to comment.