Skip to content

Commit 0f7b4f3

Browse files
timholychriselrod
andauthored
Add a test for invalidation (#426)
* Add a test for invalidation * add test6 * Add "part6" (invalidation) to CI * Try another path fix * Update test/precompile/LVUser/src/LVUser.jl Co-authored-by: Chris Elrod <[email protected]>
1 parent 550249b commit 0f7b4f3

File tree

10 files changed

+504
-1
lines changed

10 files changed

+504
-1
lines changed

.github/workflows/ci-julia-nightly.yml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- part3
3939
- part4
4040
- part5
41+
- part6
4142
steps:
4243
- uses: actions/checkout@v2
4344
- uses: julia-actions/setup-julia@v1

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- part3
4040
- part4
4141
- part5
42+
- part6
4243
steps:
4344
- uses: actions/checkout@v2
4445
- uses: julia-actions/setup-julia@v1

test/Project.toml

+3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
44
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
55
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
66
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
7+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
78
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
9+
SnoopCompileCore = "e2b509da-e806-4183-be48-004708413034"
10+
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
811
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
912
StrideArraysCore = "7792a7ef-975c-4747-a70f-980b88e8d1da"
1013
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

test/grouptests.jl

+8
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ const START_TIME = time()
105105
@time include("inner_reductions.jl")
106106
end
107107

108+
@time if LOOPVECTORIZATION_TEST == "all" || LOOPVECTORIZATION_TEST == "part6"
109+
cproj = Base.active_project()
110+
precompiledir = joinpath(@__DIR__, "precompile")
111+
Pkg.activate(joinpath(precompiledir, "LVUser"))
112+
@time include(joinpath(precompiledir, "precompile.jl"))
113+
Pkg.activate(cproj)
114+
end
115+
108116
end
109117

110118
const ELAPSED_MINUTES = (time() - START_TIME) / 60

0 commit comments

Comments
 (0)