From 981334dc6dbe24ef3545f36bd9b9b78e12aef41e Mon Sep 17 00:00:00 2001 From: Cheng Gong Date: Tue, 9 Jan 2024 20:18:33 -0500 Subject: [PATCH] remove all test use ISSMDIR() --- .github/workflows/CI.yml | 44 ++++++++++++++++++++-------------------- test/runtests.jl | 14 ++++++------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6d5fb9e..c1a4f8e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 }} diff --git a/test/runtests.jl b/test/runtests.jl index aa791f9..57718c2 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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")