Skip to content

Commit

Permalink
Tests and doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Dec 23, 2024
1 parent b4afb8f commit e1a0265
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@ on:
pull_request:

jobs:
build:
Documenter:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- name: Install dependencies
run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-docdeploy@latest
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --color=yes --project=docs/ docs/make.jl
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,8 @@ end
]
@test v == v2

s = dna"TAGCTAGGATCwAGCTkTAGGCsKTAGC"
it = UnambiguousKmers{DNAAlphabet{2}, 7, LongDNA{4}}(s)
s = LongSequence{GenericNucAlphabet}(dna"TGATCGTAGATGATGTC")
it = UnambiguousKmers{DNAAlphabet{2}, 7, LongSequence{GenericNucAlphabet}}(s)
it2 = UnambiguousDNAMers{7}(s)
@test collect(it) == collect(it2)
end
Expand Down

0 comments on commit e1a0265

Please sign in to comment.