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 91882e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,17 @@ 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
Pkg.develop(path=pwd())
# Pin the lowest version of all dependencies that we've declared compatible
Pkg.pin(name="AbstractTrees", version="0.4.0")
Pkg.pin(name="Bibliography", version="0.2.0")
Pkg.pin(name="Documenter", version="1.0.0")
Pkg.pin(name="MarkdownAST", version="0.1.2")
Pkg.pin(name="OrderedCollections", version="1.6.0")
Pkg.status()
- name: "Run tests"
shell: julia --color=yes --project=test --depwarn="yes" --check-bounds="yes" {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ AbstractTrees = "^0.4"
Bibliography = "^0.2"
Documenter = "1"
MarkdownAST = "0.1.2"
OrderedCollections = "1"
OrderedCollections = "1.6"
julia = "^1.6"

0 comments on commit 91882e5

Please sign in to comment.