Skip to content

Commit 94ea239

Browse files
committed
CI: finalize test script
1 parent 149626b commit 94ea239

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gitlab/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ report_github_status:
1414
# Report "pending" status to GitHub as soon as the job starts
1515
- |
1616
echo "Reporting pending status to GitHub commit $GITHUB_PR_SHA"
17-
true || curl --fail --request POST \
17+
curl --fail --request POST \
1818
--url "https://api.github.com/repos/${GITHUB_REPO}/statuses/${GITHUB_PR_SHA}" \
1919
--header "Authorization: Bearer ${GH_STATUS_TOKEN}" \
2020
--header "Accept: application/vnd.github.v3+json" \
@@ -35,7 +35,6 @@ report_github_status:
3535
--platform linux/${ARCH}
3636
script:
3737
- git clone -b "$GITHUB_PR_REF" https://github.com/blockstream/esplora.git .
38-
- cd esplora
3938
- docker pull "${IMAGE_BASE}:latest-${ARCH}" || true
4039
- |
4140
docker buildx build \
@@ -59,7 +58,7 @@ report_github_status:
5958
fi
6059
6160
echo "Reporting $FINAL_STATE status to GitHub commit $GITHUB_PR_SHA"
62-
true || curl --fail --request POST \
61+
curl --fail --request POST \
6362
--url "https://api.github.com/repos/${GITHUB_REPO}/statuses/${GITHUB_PR_SHA}" \
6463
--header "Authorization: Bearer ${GH_STATUS_TOKEN}" \
6564
--header "Accept: application/vnd.github.v3+json" \

0 commit comments

Comments
 (0)