From ad3c9a9f42b2de275b04bb7ddb3a3ea69791424a Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Tue, 1 Nov 2022 09:33:29 +1300 Subject: [PATCH] Fix nightly tests (#50) * Use Pkg.develop instead of LOAD_PATH * Expand CI test matrix to include 1.5, 1.7 1.5 is the lowest version we support here. --- .github/workflows/ci.yml | 2 ++ test/driver_autoload.jl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e362dd7..aed7db1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: strategy: matrix: version: + - '1.5' + - '1.7' - '1' - 'nightly' os: diff --git a/test/driver_autoload.jl b/test/driver_autoload.jl index 18442e2..1f30236 100644 --- a/test/driver_autoload.jl +++ b/test/driver_autoload.jl @@ -1,6 +1,6 @@ @testset "Automatic code loading for drivers" begin empty!(DataSets.PROJECT) - pushfirst!(LOAD_PATH, abspath("drivers")) + Pkg.develop(path=joinpath(@__DIR__, "drivers", "DummyStorageBackends")) ENV["JULIA_DATASETS_PATH"] = joinpath(@__DIR__, "DriverAutoloadData.toml") DataSets.__init__() @test haskey(DataSets._storage_drivers, "DummyTomlStorage")