File tree Expand file tree Collapse file tree 1 file changed +23
-12
lines changed Expand file tree Collapse file tree 1 file changed +23
-12
lines changed Original file line number Diff line number Diff line change @@ -119,18 +119,29 @@ jobs:
119
119
mkdir artifacts
120
120
121
121
- name : Run E2E tests
122
- shell : bash
123
- run : |
124
- ./mithril-binaries/e2e/mithril-end-to-end -vvv \
125
- --bin-directory ./mithril-binaries/e2e \
126
- --work-directory=./artifacts \
127
- --devnet-scripts-directory=./mithril-test-lab/mithril-devnet \
128
- --cardano-node-version ${{ matrix.cardano_node_version }} \
129
- --cardano-slot-length 0.25 \
130
- --cardano-epoch-length 45.0 \
131
- --signed-entity-types ${{ needs.prepare-env-variables.outputs.signed-entity-types }} \
132
- && echo "SUCCESS=true" >> $GITHUB_ENV \
133
- || (echo "SUCCESS=false" >> $GITHUB_ENV && exit 1)
122
+ uses : nick-fields/retry@v3
123
+ with :
124
+ shell : bash
125
+ max_attempts : 3
126
+ retry_on_exit_code : 2
127
+ timeout_minutes : 10
128
+ warning_on_retry : true
129
+ command : |
130
+ ./mithril-binaries/e2e/mithril-end-to-end -vvv \
131
+ --bin-directory ./mithril-binaries/e2e \
132
+ --work-directory=./artifacts \
133
+ --devnet-scripts-directory=./mithril-test-lab/mithril-devnet \
134
+ --cardano-node-version ${{ matrix.cardano_node_version }} \
135
+ --cardano-slot-length 0.25 \
136
+ --cardano-epoch-length 45.0 \
137
+ --signed-entity-types ${{ needs.prepare-env-variables.outputs.signed-entity-types }}
138
+ EXIT_CODE=$?
139
+ if [ $EXIT_CODE -eq 0 ]; then
140
+ echo "SUCCESS=true" >> $GITHUB_ENV
141
+ else
142
+ echo "SUCCESS=false" >> $GITHUB_ENV
143
+ fi
144
+ exit $EXIT_CODE
134
145
135
146
- name : Define the JSON file name for the test result
136
147
shell : bash
You can’t perform that action at this time.
0 commit comments