Skip to content

Commit

Permalink
test rnd fix, update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PharmCat committed Oct 26, 2022
1 parent 328e4e7 commit 97b9d15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Tier1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: [1.6, 1.7]
julia-version: [1.6, 1.7, 1.8]
julia-arch: [x64]
os: [ubuntu-18.04, macos-10.15, windows-2019]
os: [ubuntu-latest, macOS-latest, windows-2019]
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-buildpkg@v0.1
- uses: julia-actions/julia-buildpkg@master
- uses: julia-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion test/sim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ println(" ---------------------------------- ")

t = ClinicalTrialUtilities.bepower(cv=0.2, n=20).task
result = ClinicalTrialUtilities.besim(t; nsim = 100, seed = 1234, rng = StableRNG(0))
@test result == 0.82
@test result 0.8 atol=0.1
Base.show(io, t)

t = ClinicalTrialUtilities.ctask(param=:mean, hyp=:ns, group=:two, alpha=0.05, n = 108, sd=10, diff=5, a=7, b=0, k=1)
Expand Down

0 comments on commit 97b9d15

Please sign in to comment.