Skip to content

Commit

Permalink
test: add a separate test project file
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Aug 9, 2024
1 parent 4b73eaa commit 51fa270
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
16 changes: 0 additions & 16 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,17 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
ADTypes = "1.5.3"
CUDA = "5.3"
ChainRulesCore = "1.24.0"
ComponentArrays = "0.15.14"
DispatchDoctor = "0.4.12"
Enzyme = "0.12.22"
FiniteDiff = "2.23.1"
ForwardDiff = "0.10.36"
Functors = "0.4.11"
Hwloc = "3"
InteractiveUtils = "<0.0.1, 1"
JET = "0.9.6"
MLDataDevices = "1.0.0"
MetaTesting = "0.1.0"
ReTestItems = "1.24.0"
ReverseDiff = "1.15.3"
Test = "1.10"
Tracker = "0.2.34"
Zygote = "0.6.70"
julia = "1.10"

[extras]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Hwloc = "0e44f5e4-bd66-52a0-8798-143a42290a1d"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
MetaTesting = "9e32d19f-1e4f-477a-8631-b16c78aa0f56"
ReTestItems = "817f1d60-ba6b-4fd5-9520-3cf149f6a823"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["CUDA", "Hwloc", "InteractiveUtils", "MetaTesting", "ReTestItems", "Test"]
17 changes: 17 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
Hwloc = "0e44f5e4-bd66-52a0-8798-143a42290a1d"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
MetaTesting = "9e32d19f-1e4f-477a-8631-b16c78aa0f56"
ReTestItems = "817f1d60-ba6b-4fd5-9520-3cf149f6a823"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
CUDA = "5"
ComponentArrays = "0.15"
Hwloc = "3"
InteractiveUtils = "<0.0.1, 1"
MetaTesting = "0.1"
ReTestItems = "1.25"
Test = "1.10"
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using InteractiveUtils, Hwloc, ReTestItems
using InteractiveUtils, Hwloc, ReTestItems, LuxTestUtils

@info sprint(io -> versioninfo(io; verbose=true))
@info sprint(versioninfo)

const RETESTITEMS_NWORKERS = parse(
Int, get(ENV, "RETESTITEMS_NWORKERS", string(min(Hwloc.num_physical_cores(), 16))))

ReTestItems.runtests(@__DIR__; nworkers=RETESTITEMS_NWORKERS)
ReTestItems.runtests(LuxTestUtils; nworkers=RETESTITEMS_NWORKERS)

2 comments on commit 51fa270

@avik-pal
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/112721

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.3 -m "<description of version>" 51fa2707c664a475e86737ed1635bbd2b46e6d14
git push origin v1.1.3

Please sign in to comment.