diff --git a/.github/workflows/UnitTests.yml b/.github/workflows/UnitTests.yml index 8a82bb7..f9ccbb4 100644 --- a/.github/workflows/UnitTests.yml +++ b/.github/workflows/UnitTests.yml @@ -38,8 +38,9 @@ jobs: - 'min' - '1' - 'pre' + - 'nightly' julia-arch: - - x64 + - default - x86 os: - ubuntu-latest diff --git a/Project.toml b/Project.toml index 34fd67f..e419024 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ParallelTestRunner" uuid = "d3525ed8-44d0-4b2c-a655-542cee43accc" authors = ["Valentin Churavy "] -version = "0.1.1" +version = "0.1.2" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index a828e75..0684ce3 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -154,28 +154,26 @@ function runtest(::Type{TestRecord}, f, name, init_code) res = @timed @testset $name begin $f end - (res...,) + (; res.value, res.time, res.bytes, res.gctime) end - #data[1] is the testset - # process results rss = Sys.maxrss() if VERSION >= v"1.11.0-DEV.1529" - tc = Test.get_test_counts(data[1]) + tc = Test.get_test_counts(data.value) passes, fails, error, broken, c_passes, c_fails, c_errors, c_broken = tc.passes, tc.fails, tc.errors, tc.broken, tc.cumulative_passes, tc.cumulative_fails, tc.cumulative_errors, tc.cumulative_broken else passes, fails, errors, broken, c_passes, c_fails, c_errors, c_broken = - Test.get_test_counts(data[1]) + Test.get_test_counts(data.value) end if data[1].anynonpass == false data = ( (passes + c_passes, broken + c_broken), - data[2], - data[3], - data[4], + data.time, + data.bytes, + data.gctime, ) end res = TestRecord(data..., rss)