Skip to content

Commit 103c842

Browse files
committed
Fix CI workflow for GitHub dependencies
- Remove local checkout of dependencies - Use Pkg.develop with GitHub URLs instead - Remove [sources] section from Project.toml
1 parent 4768f56 commit 103c842

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,34 +27,17 @@ jobs:
2727
- x64
2828
steps:
2929
- uses: actions/checkout@v4
30-
- name: Checkout ClaudeMCPTools
31-
uses: actions/checkout@v4
32-
with:
33-
repository: JuliaComputing/ClaudeMCPTools.jl
34-
path: ClaudeMCPTools
35-
- name: Checkout LLMBenchSimple
36-
uses: actions/checkout@v4
37-
with:
38-
repository: JuliaComputing/LLMBenchSimple.jl
39-
path: LLMBenchSimple
4030
- uses: julia-actions/setup-julia@v2
4131
with:
4232
version: ${{ matrix.version }}
4333
arch: ${{ matrix.arch }}
4434
- uses: julia-actions/cache@v2
45-
- name: Update Project.toml for CI
35+
- name: Dev dependencies
4636
shell: julia --color=yes {0}
4737
run: |
4838
using Pkg
49-
# Update the Project.toml to use local paths
50-
project = Pkg.TOML.parsefile("Project.toml")
51-
project["sources"] = Dict(
52-
"ClaudeMCPTools" => Dict("path" => "./ClaudeMCPTools"),
53-
"LLMBenchSimple" => Dict("path" => "./LLMBenchSimple")
54-
)
55-
open("Project.toml", "w") do io
56-
Pkg.TOML.print(io, project)
57-
end
39+
Pkg.develop(url="https://github.com/JuliaComputing/ClaudeMCPTools.jl")
40+
Pkg.develop(url="https://github.com/JuliaComputing/LLMBenchSimple.jl")
5841
- uses: julia-actions/julia-buildpkg@v1
5942
- uses: julia-actions/julia-runtest@v1
6043
- uses: julia-actions/julia-processcoverage@v1

Project.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ authors = ["JuliaComputing"]
77
ClaudeMCPTools = "b9bb1685-6a70-41d7-9793-2f9fb633d966"
88
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
99

10-
[sources]
11-
ClaudeMCPTools = {path = "../ClaudeMCPTools"}
12-
LLMBenchSimple = {path = "../LLMBenchSimple"}
13-
1410
[extras]
1511
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1612
LLMBenchSimple = "a7b3c4d5-e6f7-8901-2345-678901234567"

0 commit comments

Comments
 (0)