Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unregistered deps to CI #10

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
matrix:
version:
- '1.10'
- '1.9'
- 'pre'
os:
- ubuntu-latest
Expand All @@ -37,6 +36,20 @@ jobs:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- name: Install dependencies
run: |
julia -e '
using Pkg
Pkg.activate(temp=true)
Pkg.develop(PackageSpec(url="https://github.com/MurrellGroup/HuggingFaceTokenizers.jl"))
Pkg.develop(PackageSpec(url="https://github.com/MurrellGroup/LowRankLayers.jl"))
Pkg.develop(PackageSpec(url="https://github.com/MurrellGroup/LogitSamplers.jl"))
Pkg.activate(".")
Pkg.develop("HuggingFaceTokenizers")
Pkg.develop("LowRankLayers")
Pkg.develop("LogitSamplers")
Pkg.add("JSON3")
'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
Expand All @@ -62,6 +75,15 @@ jobs:
shell: julia --project=docs --color=yes {0}
run: |
using Pkg
Pkg.activate(temp=true)
Pkg.develop(PackageSpec(url="https://github.com/MurrellGroup/HuggingFaceTokenizers.jl"))
Pkg.develop(PackageSpec(url="https://github.com/MurrellGroup/LowRankLayers.jl"))
Pkg.develop(PackageSpec(url="https://github.com/MurrellGroup/LogitSamplers.jl"))
Pkg.activate(".")
Pkg.develop("HuggingFaceTokenizers")
Pkg.develop("LowRankLayers")
Pkg.develop("LogitSamplers")
Pkg.add("JSON3")
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
- uses: julia-actions/julia-buildpkg@v1
Expand All @@ -75,4 +97,4 @@ jobs:
using Documenter: DocMeta, doctest
using Jjama3
DocMeta.setdocmeta!(Jjama3, :DocTestSetup, :(using Jjama3); recursive=true)
doctest(Jjama3)
doctest(Jjama3)
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Metal = "1"
NNlib = "0.9"
SafeTensors = "1"
StatsBase = "0.34"
julia = "1.9"
julia = "1.10"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
Loading