File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1
1
{ cfg , pkgs , ... } :
2
2
3
3
with cfg . steps . commands ;
4
-
5
4
let
6
5
commonAttrs = {
7
6
retry . automatic = true ;
8
7
agents . queue = "project42" ;
9
8
} ;
10
9
in
11
-
12
10
{
13
11
steps . commands = {
14
12
nixExpr = commonAttrs // {
97
95
] ;
98
96
} ;
99
97
98
+ annotate-test-reports = commonAttrs // {
99
+ dependsOn = [ test-unit ] ;
100
+ label = "annotate test reports" ;
101
+ command = "junit-annotate" ;
102
+ allowDependencyFailure = true ;
103
+ plugins = [ {
104
+ "junit-annotate#1.9.0" = {
105
+ artifacts = "target/test-reports/*.xml" ;
106
+ report-slowest = 50 ;
107
+ } ;
108
+ } ] ;
109
+ } ;
110
+
100
111
test-evm = commonAttrs // {
101
112
dependsOn = [ compile ] ;
102
113
label = "EVM tests" ;
Original file line number Diff line number Diff line change
1
+ FROM nixos/nix
2
+
3
+ RUN apk --update add git less openssh && \
4
+ rm -rf /var/lib/apt/lists/* && \
5
+ rm /var/cache/apk/*
6
+
7
+ RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
8
+ RUN nix-channel --update
9
+
10
+ RUN nix-build -A pythonFull '<nixpkgs>'
11
+
Original file line number Diff line number Diff line change
1
+ sandbox = false
2
+ experimental-features = nix-command flakes ca-references
3
+ substituters = https://hydra.iohk.io https://cache.nixos.org https://mantis-ops.cachix.org
4
+ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= mantis-ops.cachix.org-1:SornDcX8/9rFrpTjU+mAAb26sF8mUpnxgXNjmKGcglQ=
You can’t perform that action at this time.
0 commit comments