Skip to content

Commit

Permalink
Test against oldest declared dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Oct 17, 2023
1 parent ca69bfa commit ef0a1ec
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,21 @@ jobs:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v1
- name: "Instantiate test environment"
run: julia --project=test devrepl.jl
shell: julia --project=test {0}
run: |
import Pkg
println("*** Dev-Installing DocumenterCitations")
Pkg.develop(path=pwd())
println("*** Pinning minimal dependencies")
Pkg.pin([
Pkg.PackageSpec(name="AbstractTrees", version="0.4.0"),
Pkg.PackageSpec(name="Bibliography", version="0.2.15"),
Pkg.PackageSpec(name="Documenter", version="1.0.0"),
Pkg.PackageSpec(name="MarkdownAST", version="0.1.2"),
Pkg.PackageSpec(name="OrderedCollections", version="1.6.0"),
])
Pkg.precompile()
Pkg.status()
- name: "Run tests"
shell: julia --color=yes --project=test --depwarn="yes" --check-bounds="yes" {0}
run: |
Expand Down
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

[compat]
AbstractTrees = "^0.4"
Bibliography = "^0.2"
AbstractTrees = "0.4"
Bibliography = "0.2.15"
Documenter = "1"
MarkdownAST = "0.1.2"
OrderedCollections = "1"
julia = "^1.6"
OrderedCollections = "1.6"
julia = "1.6"

0 comments on commit ef0a1ec

Please sign in to comment.