|
83 | 83 | }; |
84 | 84 |
|
85 | 85 | test-unit = commonAttrs // { |
86 | | - dependsOn = [ compile ]; |
| 86 | + dependsOn = [ compile test-bytes test-crypto test-rlp ]; |
87 | 87 | label = "unit tests"; |
88 | 88 | command = '' |
89 | 89 | nix-shell --run '$SBT coverage test' |
|
109 | 109 | }; |
110 | 110 |
|
111 | 111 | test-evm = commonAttrs // { |
112 | | - dependsOn = [ compile ]; |
| 112 | + dependsOn = [ compile test-unit ]; |
113 | 113 | label = "EVM tests"; |
114 | 114 | command = '' |
115 | 115 | nix-shell --run '$SBT coverage evm:test' |
|
121 | 121 | ]; |
122 | 122 | }; |
123 | 123 |
|
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 | | - |
133 | 124 | test-ets = commonAttrs // { |
134 | | - dependsOn = [ compile ]; |
| 125 | + dependsOn = [ compile test-unit ]; |
135 | 126 | label = "ETS"; |
136 | 127 | command = '' |
137 | 128 | nix-shell --run './test-ets.sh' |
|
145 | 136 | ]; |
146 | 137 | }; |
147 | 138 |
|
| 139 | + test-integration = commonAttrs // { |
| 140 | + dependsOn = [ compile test-ets test-evm test-unit ]; |
| 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 | + |
148 | 149 | coverageReport = commonAttrs // { |
149 | 150 | dependsOn = [ test-unit test-evm ]; |
150 | 151 | label = "coverage report"; |
|
154 | 155 | }; |
155 | 156 |
|
156 | 157 | additional = commonAttrs // { |
157 | | - dependsOn = [ compile ]; |
| 158 | + dependsOn = [ compile test-integration ]; |
158 | 159 | label = "additional compilation & dist"; |
159 | 160 | command = '' |
160 | 161 | nix-shell --run '$SBT benchmark:compile dist' |
|
0 commit comments