Skip to content

Commit

Permalink
fix docs and test
Browse files Browse the repository at this point in the history
  • Loading branch information
kose-y committed Sep 8, 2023
1 parent 28ef8d7 commit 26c14f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
- run: |
git config --global user.name Tester
git config --global user.email [email protected]
- run: |
julia --project=docs -e '
using Pkg
Pkg.add(url="https://github.com/kose-y/SKFR.jl", rev="master")
Pkg.add(url="https://github.com/OpenMendel/OpenADMIXTURE.jl", rev="main")'
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ makedocs(;
)

deploydocs(;
repo="github.com/HaploADMIXTURE/HaploADMIXTURE.jl",
repo="github.com/OpenMendel/HaploADMIXTURE.jl",
devbranch = "main"
)
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using Test
@test d.ll_new -1.3344074094647754e7
d, _, _ = HaploADMIXTURE.run_admixture(EUR, 379, 1000, 4; sparsity=1000, rng=rng, prefix="test", admix_rtol=1e-5)
@test d.ll_new -440149.1599139798
rm("test_4_2000aims.bed", force=true)
rm("test_4_2000aims.bim", force=true)
rm("test_4_2000aims.fam", force=true)
Sys.iswindows() || rm("test_4_2000aims.bed", force=true)
Sys.iswindows() || rm("test_4_2000aims.bim", force=true)
Sys.iswindows() || rm("test_4_2000aims.fam", force=true)
end

0 comments on commit 26c14f1

Please sign in to comment.