Skip to content

Commit 1e9e0cc

Browse files
authored
Fix Oscar.jl regression tests (#2797)
1 parent 3ea3d4d commit 1e9e0cc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/regression-tests.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ jobs:
4747
test-documentation-build:
4848
name: doc-build-${{ matrix.package }}
4949
runs-on: ubuntu-latest
50-
env:
51-
PACKAGE: ${{ matrix.package }}
5250
strategy:
5351
fail-fast: false
5452
matrix:
@@ -64,15 +62,21 @@ jobs:
6462
- name: install-and-build-documentation
6563
shell: julia --color=yes {0}
6664
run: |
65+
package = "${{ matrix.package }}"
6766
import Pkg
6867
# Install the PACKAGE into `Pkg.devdir()`
69-
Pkg.develop(ENV["PACKAGE"])
68+
Pkg.develop(package)
7069
# Assume that there is an docs/Project.toml
71-
doc_path = joinpath(Pkg.devdir(), ENV["PACKAGE"], "docs")
70+
doc_path = joinpath(Pkg.devdir(), package, "docs")
7271
Pkg.activate(doc_path)
7372
# Change the TOML to include the package and this version of Documenter
74-
Pkg.develop(ENV["PACKAGE"])
73+
Pkg.develop(package)
7574
Pkg.develop(Pkg.PackageSpec(path=pwd()))
75+
# special hack to make OSCAR tests work *sigh*
76+
if package == "Oscar"
77+
#AbstractAlgebra, Nemo, Hecke, Singular, GAP, Polymake
78+
Pkg.add("Hecke")
79+
end
7680
# Install
7781
Pkg.instantiate()
7882
# Build the docs

0 commit comments

Comments
 (0)