File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 8
8
# Allows you to run this workflow manually from the Actions tab
9
9
workflow_dispatch :
10
10
11
+ # This allows a subsequently queued workflow run to interrupt previous runs.
12
+ concurrency :
13
+ group : " ${{ github.workflow }} @ ${{ github.ref }}"
14
+ cancel-in-progress : true
15
+
11
16
jobs :
12
17
# Since the name of the matrix job depends on the version, we define another job with a more stable name.
13
18
test_results :
Original file line number Diff line number Diff line change @@ -84,9 +84,27 @@ def time_it
84
84
end
85
85
end
86
86
87
- module ActiveSupport
87
+
88
+ module DebugSlowTests
89
+ def enable_extension! ( ...)
90
+ t0 = Minitest . clock_time
91
+ super
92
+ puts "enable_extension! took #{ Minitest . clock_time - t0 } seconds"
93
+ end
94
+
95
+ def disable_extension! ( ...)
96
+ t0 = Minitest . clock_time
97
+ super
98
+ puts "disable_extension! took #{ Minitest . clock_time - t0 } seconds"
99
+ end
100
+ end
101
+
102
+
103
+ module ActiveRecord
88
104
class TestCase
89
105
include TestTimeoutHelper
106
+ include DebugSlowTests
107
+ extend DebugSlowTests
90
108
91
109
def factory ( srid : 3785 )
92
110
RGeo ::Cartesian . preferred_factory ( srid : srid )
You can’t perform that action at this time.
0 commit comments