27
27
steps :
28
28
- name : Prepare env variables
29
29
id : set-env
30
+ shell : bash
30
31
run : |
31
32
if [[ "${{ github.event_name }}" == "schedule" ]]; then
32
33
echo "total_releases=3" >> $GITHUB_OUTPUT
48
49
- name : Download releases artifacts binaries
49
50
env :
50
51
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
+ shell : bash
51
53
run : |
52
54
./.github/workflows/scripts/download-distribution-binaries.sh ${{ needs.prepare-env-variables.outputs.total_releases }}
53
55
57
59
toolchain : stable
58
60
59
61
- name : Build e2e
62
+ shell : bash
60
63
run : |
61
64
cargo build --release --bin mithril-end-to-end
62
65
cp ./target/release/mithril-end-to-end ./mithril-binaries/unstable
69
72
70
73
- name : Prepare test lab tags
71
74
id : tags-test-lab
75
+ shell : bash
72
76
run : |
73
77
TAGS=$(jq -c '.' ./mithril-binaries/tags.json)
74
78
echo "Test Lab Tags: $TAGS"
96
100
path : ./mithril-binaries
97
101
98
102
- name : Prepare binaries
103
+ shell : bash
99
104
run : |
100
105
mkdir -p mithril-binaries/e2e
101
106
cp ./mithril-binaries/unstable/* ./mithril-binaries/e2e
@@ -109,6 +114,7 @@ jobs:
109
114
mkdir artifacts
110
115
111
116
- name : Run E2E tests
117
+ shell : bash
112
118
run : |
113
119
./mithril-binaries/e2e/mithril-end-to-end -vvv \
114
120
--bin-directory ./mithril-binaries/e2e \
@@ -121,11 +127,13 @@ jobs:
121
127
|| (echo "SUCCESS=false" >> $GITHUB_ENV && exit 1)
122
128
123
129
- name : Define the JSON file name for the test result
130
+ shell : bash
124
131
if : success() || failure()
125
132
run : echo "RESULT_FILE_NAME=e2e-test-result-run_${{ github.run_number }}-attempt_${{ github.run_attempt }}-tag_${{ matrix.tag }}-node-${{ matrix.node }}-cardano-${{ matrix.cardano_node_version }}-run_id_${{ matrix.run_id }}" >> $GITHUB_ENV
126
133
127
134
- name : Write test result JSON
128
135
if : success() || failure()
136
+ shell : bash
129
137
run : |
130
138
AGGREGATOR_TAG="unstable"
131
139
SIGNER_TAG="unstable"
@@ -188,10 +196,12 @@ jobs:
188
196
merge-multiple : true
189
197
190
198
- name : Concatenate JSON result files into summary.json
199
+ shell : bash
191
200
run : |
192
201
jq -s '.' ./test-results/e2e-test-result-*.json > ./test-results/summary.json
193
202
194
203
- name : Add distributions backward compatibility summary
204
+ shell : bash
195
205
run : |
196
206
CHECK_MARK=":heavy_check_mark:"
197
207
CROSS_MARK=":no_entry:"
0 commit comments