Skip to content

Commit 1ad5f1d

Browse files
committed
chore: specify bash shell for steps containing bash commands
1 parent e6ee435 commit 1ad5f1d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/nightly-backward-compatibility.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
steps:
2828
- name: Prepare env variables
2929
id: set-env
30+
shell: bash
3031
run: |
3132
if [[ "${{ github.event_name }}" == "schedule" ]]; then
3233
echo "total_releases=3" >> $GITHUB_OUTPUT
@@ -48,6 +49,7 @@ jobs:
4849
- name: Download releases artifacts binaries
4950
env:
5051
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
shell: bash
5153
run: |
5254
./.github/workflows/scripts/download-distribution-binaries.sh ${{ needs.prepare-env-variables.outputs.total_releases }}
5355
@@ -57,6 +59,7 @@ jobs:
5759
toolchain: stable
5860

5961
- name: Build e2e
62+
shell: bash
6063
run: |
6164
cargo build --release --bin mithril-end-to-end
6265
cp ./target/release/mithril-end-to-end ./mithril-binaries/unstable
@@ -69,6 +72,7 @@ jobs:
6972

7073
- name: Prepare test lab tags
7174
id: tags-test-lab
75+
shell: bash
7276
run: |
7377
TAGS=$(jq -c '.' ./mithril-binaries/tags.json)
7478
echo "Test Lab Tags: $TAGS"
@@ -96,6 +100,7 @@ jobs:
96100
path: ./mithril-binaries
97101

98102
- name: Prepare binaries
103+
shell: bash
99104
run: |
100105
mkdir -p mithril-binaries/e2e
101106
cp ./mithril-binaries/unstable/* ./mithril-binaries/e2e
@@ -109,6 +114,7 @@ jobs:
109114
mkdir artifacts
110115
111116
- name: Run E2E tests
117+
shell: bash
112118
run: |
113119
./mithril-binaries/e2e/mithril-end-to-end -vvv \
114120
--bin-directory ./mithril-binaries/e2e \
@@ -121,11 +127,13 @@ jobs:
121127
|| (echo "SUCCESS=false" >> $GITHUB_ENV && exit 1)
122128
123129
- name: Define the JSON file name for the test result
130+
shell: bash
124131
if: success() || failure()
125132
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
126133

127134
- name: Write test result JSON
128135
if: success() || failure()
136+
shell: bash
129137
run: |
130138
AGGREGATOR_TAG="unstable"
131139
SIGNER_TAG="unstable"
@@ -188,10 +196,12 @@ jobs:
188196
merge-multiple: true
189197

190198
- name: Concatenate JSON result files into summary.json
199+
shell: bash
191200
run: |
192201
jq -s '.' ./test-results/e2e-test-result-*.json > ./test-results/summary.json
193202
194203
- name: Add distributions backward compatibility summary
204+
shell: bash
195205
run: |
196206
CHECK_MARK=":heavy_check_mark:"
197207
CROSS_MARK=":no_entry:"

0 commit comments

Comments
 (0)