diff --git a/.github/workflows/Tier1.yml b/.github/workflows/Tier1.yml index 07323f1..dce11db 100644 --- a/.github/workflows/Tier1.yml +++ b/.github/workflows/Tier1.yml @@ -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/julia-runtest@v0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/test/sim.jl b/test/sim.jl index 23eebc4..3aac290 100644 --- a/test/sim.jl +++ b/test/sim.jl @@ -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)