Skip to content

Commit

Permalink
HACK: use GAP.jl master in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Jan 7, 2025
1 parent 285eb76 commit 063ff09
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ jobs:
with:
cache-name: julia-cache;workflow=${{ github.workflow }};julia=${{ matrix.julia-version }};arch=${{ runner.arch }}
include-matrix: false
- name: "HACK: Use GAP.jl master"
run: julia --project=. -e 'using Pkg; Pkg.add([
PackageSpec(url="https://github.com/lgoettgens/Hecke.jl", rev="lg/bump-GAP"),
PackageSpec(url="https://github.com/oscar-system/GAP.jl", rev="master"),
])'
- name: "Build package"
uses: julia-actions/julia-buildpkg@v1
- name: "limit OpenMP threads"
Expand Down Expand Up @@ -157,6 +162,11 @@ jobs:
with:
cache-name: julia-cache;workflow=${{ github.workflow }};julia=${{ matrix.julia-version }};arch=${{ runner.arch }}
include-matrix: false
- name: "HACK: Use GAP.jl master"
run: julia --project=. -e 'using Pkg; Pkg.add([
PackageSpec(url="https://github.com/lgoettgens/Hecke.jl", rev="lg/bump-GAP"),
PackageSpec(url="https://github.com/oscar-system/GAP.jl", rev="master"),
])'
- name: "Build package"
uses: julia-actions/julia-buildpkg@v1
- name: "limit OpenMP threads"
Expand All @@ -167,6 +177,10 @@ jobs:
run: |
julia --project=docs --color=yes -e '
using Pkg
Pkg.add([
PackageSpec(url="https://github.com/lgoettgens/Hecke.jl", rev="lg/bump-GAP"),
PackageSpec(url="https://github.com/oscar-system/GAP.jl", rev="master"),
])
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- name: "Run doctests"
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/NoExperimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
include-matrix: false
- name: "Symlink NoExperimental_whitelist.jl"
run: ln -s NoExperimental_whitelist_.jl experimental/NoExperimental_whitelist.jl
- name: "HACK: Use GAP.jl master"
run: julia --project=. -e 'using Pkg; Pkg.add([
PackageSpec(url="https://github.com/lgoettgens/Hecke.jl", rev="lg/bump-GAP"),
PackageSpec(url="https://github.com/oscar-system/GAP.jl", rev="master"),
])'
- name: "Set test subgroup"
if: ${{ matrix.group }} != ''
run: echo "OSCAR_TEST_SUBSET=${{matrix.group}}" >> $GITHUB_ENV
Expand All @@ -68,12 +73,21 @@ jobs:
include-matrix: false
- name: "Symlink NoExperimental_whitelist.jl"
run: ln -s NoExperimental_whitelist_.jl experimental/NoExperimental_whitelist.jl
- name: "HACK: Use GAP.jl master"
run: julia --project=. -e 'using Pkg; Pkg.add([
PackageSpec(url="https://github.com/lgoettgens/Hecke.jl", rev="lg/bump-GAP"),
PackageSpec(url="https://github.com/oscar-system/GAP.jl", rev="master"),
])'
- name: "Build package"
uses: julia-actions/julia-buildpkg@v1
- name: "Setup package"
run: |
julia --project=docs --color=yes -e '
using Pkg
Pkg.add([
PackageSpec(url="https://github.com/lgoettgens/Hecke.jl", rev="lg/bump-GAP"),
PackageSpec(url="https://github.com/oscar-system/GAP.jl", rev="master"),
])
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- name: "Run doctests"
Expand All @@ -95,6 +109,11 @@ jobs:
version: '1.10'
- name: "Symlink NoExperimental_whitelist.jl"
run: ln -s NoExperimental_whitelist_.jl experimental/NoExperimental_whitelist.jl
- name: "HACK: Use GAP.jl master"
run: julia --project=. -e 'using Pkg; Pkg.add([
PackageSpec(url="https://github.com/lgoettgens/Hecke.jl", rev="lg/bump-GAP"),
PackageSpec(url="https://github.com/oscar-system/GAP.jl", rev="master"),
])'
- name: Build package
uses: julia-actions/julia-buildpkg@v1
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion test/Aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using Aqua
piracies=false, # TODO: check the reported methods to be moved upstream
# Aqua persistent task does not work properly with developed dependencies
# thus we disable these tests when running in OscarCI:
persistent_tasks=!haskey(ENV, "oscar_run_tests"),
persistent_tasks=false,
)
@test length(Aqua.detect_unbound_args_recursively(Oscar)) <= 16
end

0 comments on commit 063ff09

Please sign in to comment.