Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
chinelo-obitube authored and chinelo-obitube committed Jul 22, 2024
1 parent bfcd706 commit 16883ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/format-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

apt-get install -y awscli

if [ "$GITHUB_EVENT" == "pull_request" || "$GITHUB_EVENT" == "push"]
if [ "$GITHUB_EVENT" == "pull_request" || "$GITHUB_EVENT" == "push" ]
then
./test/cc-test-reporter format-coverage -t simplecov --output ../coverage/codeclimate.$GITHUB_JOB_NAME.json ../coverage/.resultset.json
aws s3 cp ../coverage/codeclimate.$GITHUB_JOB_NAME.json s3://check-api-github/codeclimate/$GITHUB_REPO/$GITHUB_BUILD_NUMBER/codeclimate.$GITHUB_JOB_NAME.json
Expand Down
2 changes: 1 addition & 1 deletion test/sum-upload-coverage.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [[ "$GITHUB_EVENT" == "pull_request" || "$GITHUB_EVENT" == "push"]] && [[ "$GITHUB_TEST_RESULT" == 'success' ]]
if [[ "$GITHUB_EVENT" == "pull_request" || "$GITHUB_EVENT" == "push" ]] && [[ "$GITHUB_TEST_RESULT" == 'success' ]]
then
rm -rf ../coverage/*
aws s3 cp --recursive s3://check-api-github/codeclimate/$GITHUB_REPO/$GITHUB_BUILD_NUMBER/ ../coverage
Expand Down

0 comments on commit 16883ed

Please sign in to comment.