Skip to content

Commit 72ecfd2

Browse files
committed
[Bugfix] Make integration tests run after unit tests and timeout after 60 minutes
1 parent b5b3818 commit 72ecfd2

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.buildkite/pipeline.nix

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,6 @@ in
121121
];
122122
};
123123

124-
test-integration = commonAttrs // {
125-
dependsOn = [ compile ];
126-
label = "integration tests";
127-
command = ''
128-
nix-shell --run '$SBT coverageOff it:test'
129-
'';
130-
artifactPaths = [ "target/test-reports/**/*" ];
131-
};
132-
133124
test-ets = commonAttrs // {
134125
dependsOn = [ compile ];
135126
label = "ETS";
@@ -145,6 +136,16 @@ in
145136
];
146137
};
147138

139+
test-integration = commonAttrs // {
140+
dependsOn = [ compile ];
141+
label = "integration tests";
142+
command = ''
143+
nix-shell --run '$SBT coverageOff it:test'
144+
'';
145+
artifactPaths = [ "target/test-reports/**/*" ];
146+
timeoutInMinutes = 60;
147+
};
148+
148149
coverageReport = commonAttrs // {
149150
dependsOn = [ test-unit test-evm ];
150151
label = "coverage report";
@@ -154,7 +155,7 @@ in
154155
};
155156

156157
additional = commonAttrs // {
157-
dependsOn = [ compile ];
158+
dependsOn = [ compile test-integration ];
158159
label = "additional compilation & dist";
159160
command = ''
160161
nix-shell --run '$SBT benchmark:compile dist'

.buildkite/shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ with pkgs;
2121
mkShell {
2222
nativeBuildInputs = [ sbt solc lllc jdk8 protoc-wrapper retesteth netcat-gnu ];
2323
# SBT = "sbt -v -mem 2048 -J-Xmx4g -Dsbt.ivy.home=/cache/ivy2 -Dsbt.boot.directory=/cache/sbt -Dmaven.repo.local=/cache/maven -Dnix=true";
24-
SBT = "sbt -v -mem 2048 -J-Xmx4g -Dnix=true";
24+
SBT = "sbt -v -mem 2048 -J-Xmx6g -Dnix=true";
2525
}

0 commit comments

Comments
 (0)