Skip to content

Commit

Permalink
trying to fix CI with RCall, R::BGLR and GLMakie.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
paril authored and paril committed Feb 1, 2025
1 parent 729ab92 commit f95ee8e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ jobs:
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev xsettingsd x11-xserver-utils
- uses: r-lib/actions/setup-r@v2
with:
r-version: "4.3.1"
- name: Install BGLR
run: |
install.packages("BGLR")
shell: Rscript {0}
- run: echo "LD_LIBRARY_PATH=$(R RHOME)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
# - uses: julia-actions/julia-buildpkg@v1
# - uses: julia-actions/julia-runtest@v1
- run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project -e 'using Pkg; Pkg.instantiate(); using GenomicBreeding; include("test/runtests.jl")'
Expand Down
7 changes: 3 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ makedocs(;
authors = "jeffersonparil@gmail.com",
sitename = "GenomicBreeding.jl",
format = Documenter.HTML(;
canonical = "https://jeffersonfparil.github.io/GenomicBreeding.jl",
canonical = "https://GenomicBreeding.github.io/GenomicBreeding.jl",
edit_link = "main",
assets = String[],
),
# pages = ["Home" => "index.md"],
pages = ["index.md", "simulations.md", "models.md"],
pages = ["Home" => "index.md"],
)

deploydocs(; repo = "github.com/jeffersonfparil/GenomicBreeding.jl", devbranch = "main")
deploydocs(; repo = "github.com/GenomicBreeding/GenomicBreeding.jl", devbranch = "main")
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using GBCore
using GenomicBreeding
using Test
using Documenter

Documenter.doctest(GBCore)
Documenter.doctest(GenomicBreeding)

@testset "GBCore.jl" begin
@testset "GenomicBreeding.jl" begin
@test 1 == 1
end

0 comments on commit f95ee8e

Please sign in to comment.