Skip to content

Commit

Permalink
remove all test use ISSMDIR()
Browse files Browse the repository at this point in the history
  • Loading branch information
enigne committed Jan 10, 2024
1 parent 7152118 commit 981334d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,25 @@ jobs:
- uses: codecov/codecov-action@v1
with:
file: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: doctest
using dJUICE
doctest(dJUICE)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
# docs:
# name: Documentation
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: julia-actions/setup-julia@v1
# with:
# version: '1'
# - run: |
# julia --project=docs -e '
# using Pkg
# Pkg.develop(PackageSpec(path=pwd()))
# Pkg.instantiate()'
# - run: |
# julia --project=docs -e '
# using Documenter: doctest
# using dJUICE
# doctest(dJUICE)'
# - run: julia --project=docs docs/make.jl
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
14 changes: 7 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ end
@time @testset "Model Struct Tests" begin include("modelstructtests.jl") end

# test each individual cases, name with test[0-9]*.jl
testsolutions = searchdir("./", r"test[0-9]*.jl")
@time @testset "Model Solution Tests" begin
for tf in testsolutions
include(tf)
end
end
#testsolutions = searchdir("./", r"test[0-9]*.jl")
#@time @testset "Model Solution Tests" begin
# for tf in testsolutions
# include(tf)
# end
#end

# AD test
@time include("testad.jl")
@time include("testad2.jl")
#@time include("testad2.jl")

# GPU test
#@time include("testGPU.jl")
Expand Down

0 comments on commit 981334d

Please sign in to comment.