Skip to content

Commit

Permalink
ci: Enable integration testing for push event (#2296)
Browse files Browse the repository at this point in the history
Remove the 'if' condition from the Integration Testing to enable testing for
push events. Additionally, this commit removes unnecessary logs of certain
environment variables.

Fixes: #2295

Signed-off-by: Xuewei Niu <justxuewei@apache.org>
  • Loading branch information
justxuewei committed Apr 7, 2023
1 parent 6361d9f commit 2efc13e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
- name: Merge code into the upstream
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "$GITHUB_BASE_REF, $GITHUB_REF_NAME, $GITHUB_REF"
git fetch origin $GITHUB_BASE_REF
git checkout -b $GITHUB_BASE_REF origin/$GITHUB_BASE_REF
git remote add devrepo https://github.com/${{github.event.pull_request.head.repo.full_name}}.git
Expand All @@ -72,9 +71,7 @@ jobs:
run: |
make verify
# This step only runs when the event type is a pull_request
- name: Integration Testing
if: ${{ github.event_name == 'pull_request' }}
run: |
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
chmod +x integrate_test.sh \
Expand Down

0 comments on commit 2efc13e

Please sign in to comment.