From 1ae9c056514d66989f6fc1418153afdcadc8774a Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Wed, 29 Nov 2023 12:56:52 +0530 Subject: [PATCH] Fix export sanity tests (#4730) The export sanity tests were not running because the if condition was not being evaluated correctly. **Export sanity tests are currently broken. We never detected it as we were never running it.** --- #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [ ] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Supportability/Tests - [ ] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup #### Issue(s) * # #### Test Plan - [ ] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- .github/actions/backup-restore-test/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/backup-restore-test/action.yml b/.github/actions/backup-restore-test/action.yml index e9c7e4538..3baf7c97c 100644 --- a/.github/actions/backup-restore-test/action.yml +++ b/.github/actions/backup-restore-test/action.yml @@ -99,7 +99,7 @@ runs: ./sanity-test restore ${{ inputs.service }} - name: Export ${{ inputs.service }} ${{ inputs.kind }} - if: inputs.with-export == true + if: ${{ inputs.with-export == 'true' }} id: export shell: bash working-directory: src @@ -119,7 +119,7 @@ runs: cat /tmp/corsologs - name: Check export ${{ inputs.service }} ${{ inputs.kind }} - if: inputs.with-export == true + if: ${{ inputs.with-export == 'true' }} shell: bash working-directory: src env: @@ -134,7 +134,7 @@ runs: ./sanity-test export ${{ inputs.service }} - name: Export archive ${{ inputs.service }} ${{ inputs.kind }} - if: inputs.with-export == true + if: ${{ inputs.with-export == 'true' }} id: export-archive shell: bash working-directory: src @@ -157,7 +157,7 @@ runs: cat /tmp/corsologs - name: Check archive export ${{ inputs.service }} ${{ inputs.kind }} - if: inputs.with-export == true + if: ${{ inputs.with-export == 'true' }} shell: bash working-directory: src env: