Skip to content

Commit

Permalink
remove custom registry in CI (#69)
Browse files Browse the repository at this point in the history
test PR to test the integration tests:
QEDjl-project/QEDbase.jl#123
  • Loading branch information
SimeonEhrig authored Sep 13, 2024
1 parent 09fb7a3 commit 99c6586
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 28 deletions.
8 changes: 0 additions & 8 deletions .ci/integTestGen/src/integTestGen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,6 @@ function generate_job_yaml!(
push!(script, "git checkout $(split_url[2])")
end

push!(
script,
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/QEDjl-project/registry.git\"));'",
)
push!(
script,
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/JuliaRegistries/General\"));'",
)
push!(
script, "julia --project=. -e 'import Pkg; Pkg.develop(path=\"$ci_project_dir\");'"
)
Expand Down
8 changes: 0 additions & 8 deletions .ci/integTestGen/test/generate_job_yaml.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ end
"cd /",
"git clone -b main $(package_infos["QEDcore"].url) integration_test",
"cd integration_test",
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/QEDjl-project/registry.git\"));'",
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/JuliaRegistries/General\"));'",
"julia --project=. -e 'import Pkg; Pkg.develop(path=\"/path/to/QEDcore.jl\");'",
"julia --project=. -e 'import Pkg; Pkg.test(; coverage = true)'",
],
Expand Down Expand Up @@ -83,8 +81,6 @@ end
"git clone -b feature3 $(package_infos["QEDcore"].url) integration_test",
"git clone -b dev https://github.com/QEDjl-project/QuantumElectrodynamics.jl.git /integration_test_tools",
"cd integration_test",
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/QEDjl-project/registry.git\"));'",
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/JuliaRegistries/General\"));'",
"julia --project=. -e 'import Pkg; Pkg.develop(path=\"/path/to/QEDcore.jl\");'",
"julia --project=. /integration_test_tools/.ci/set_dev_dependencies.jl",
"julia --project=. -e 'import Pkg; Pkg.test(; coverage = true)'",
Expand Down Expand Up @@ -132,8 +128,6 @@ end
"git clone -b dev $(package_infos["QEDcore"].url) integration_test",
"git clone -b dev https://github.com/QEDjl-project/QuantumElectrodynamics.jl.git /integration_test_tools",
"cd integration_test",
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/QEDjl-project/registry.git\"));'",
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/JuliaRegistries/General\"));'",
"julia --project=. -e 'import Pkg; Pkg.develop(path=\"/path/to/QEDcore.jl\");'",
"julia --project=. /integration_test_tools/.ci/set_dev_dependencies.jl",
"julia --project=. -e 'import Pkg; Pkg.test(; coverage = true)'",
Expand Down Expand Up @@ -169,8 +163,6 @@ end
"cd /",
"git clone -b main $(package_infos["QEDcore"].url) integration_test",
"cd integration_test",
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/QEDjl-project/registry.git\"));'",
"julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url=\"https://github.com/JuliaRegistries/General\"));'",
"julia --project=. -e 'import Pkg; Pkg.develop(path=\"/path/to/QEDcore.jl\");'",
"julia --project=. -e 'import Pkg; Pkg.test(; coverage = true)'",
],
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/BuildDeployDoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: "1.10"
- name: Add custom registry
run: |
julia --project=docs/ -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/QEDjl-project/registry.git"));'
julia --project=docs/ -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/JuliaRegistries/General"));'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: set dependencies to dev branch version
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ jobs:
ENV["JULIA_PKG_SERVER"] = ""
Pkg.Registry.add("General")
shell: julia --color=yes {0}
- name: "Add QED custom registry"
run: |
import Pkg
ENV["JULIA_PKG_SERVER"] = ""
Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/QEDjl-project/registry.git"))
shell: julia --color=yes {0}
- name: "Install CompatHelper"
run: |
import Pkg
Expand Down
2 changes: 0 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ stages:
- julia --project=. -e 'import Pkg; Pkg.test(; coverage = true)'
- cd ${CI_PROJECT_DIR}
# test integTestGen
- julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/QEDjl-project/registry.git"));'
- julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/JuliaRegistries/General"));'
- cd ${CI_PROJECT_DIR}/.ci/integTestGen
- julia --project=. -e 'import Pkg; Pkg.instantiate()'
- julia --project=. -e 'import Pkg; Pkg.test(; coverage = true)'
Expand Down

0 comments on commit 99c6586

Please sign in to comment.