Skip to content

Commit

Permalink
Test extensions (#68)
Browse files Browse the repository at this point in the history
* Test extensions

* Try again

* Try again

* token
  • Loading branch information
JeffFessler authored May 18, 2024
1 parent c066726 commit e92ba7a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ jobs:
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
with:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
10 changes: 9 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# runtests.jl

using Sinograms
using Test: @test, @testset, detect_ambiguities
using Test: @test, @test_throws, @testset, detect_ambiguities

# test extension stubs before loading the extension
@testset "exts" begin
@test_throws String sino_plot_rays()
# @test_throws String sino_geom_plot!()
@test_throws String ct_geom_plot2!()
@test_throws String ct_geom_plot3() # todo
end

include("units.jl")

Expand Down

0 comments on commit e92ba7a

Please sign in to comment.