File tree 2 files changed +31
-1
lines changed 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 257
257
} ) . workbench-profile-run { } ;
258
258
259
259
inherit ( pkgs ) all-profiles-json ;
260
+
261
+ qa-pr-tests = pkgs . writeShellApplication {
262
+ name = "qa-pr-tests" ;
263
+ runtimeInputs = [ pkgs . git ] ;
264
+ text = ''
265
+ NODE_REV="${ self . rev or "$(git rev-parse --abbrev-ref HEAD)" } "
266
+ mkdir -p tmp && cd tmp
267
+ rm -rf cardano-node-tests
268
+ git clone https://github.com/input-output-hk/cardano-node-tests.git
269
+ cd cardano-node-tests
270
+ export NODE_REV
271
+ MAKE_TARGET=testpr ./.github/regression.sh
272
+ '' ;
273
+ } ;
260
274
}
261
275
# Add checks to be able to build them individually
262
276
// ( prefixNamesWith "checks/" checks ) ;
Original file line number Diff line number Diff line change 89
89
90
90
"ci/pr" = { lib , ... } @ args : {
91
91
imports = [ common ] ;
92
- after = [ "ci/pr/required" "ci/pr/nonrequired" "ci/cardano-deployment" ] ;
92
+ after = [ "ci/pr/required" "ci/pr/nonrequired" "ci/cardano-deployment" "ci/pr/qa-tests" ] ;
93
+ } ;
94
+
95
+ "ci/pr/qa-tests" = { lib , ...} @ args : {
96
+ imports = [ common ] ;
97
+ after = [ "ci/required" ] ;
98
+
99
+ command . text = ''
100
+ nix run -L .#qa-pr-tests
101
+ '' ;
102
+
103
+ memory = 1024 * 64 ;
104
+ nomad . resources . cpu = 40000 ;
93
105
} ;
94
106
} ;
95
107
@@ -143,5 +155,9 @@ rec {
143
155
task = "ci/cardano-deployment" ;
144
156
io = prIo ;
145
157
} ;
158
+ "cardano-node/ci/pr/qa-tests" = {
159
+ task = "ci/cardano-deployment" ;
160
+ io = prIo ;
161
+ } ;
146
162
} ;
147
163
}
You can’t perform that action at this time.
0 commit comments