Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
Co-authored-by: jcrichlake <[email protected]>
  • Loading branch information
pluckyswan and jcrichlake committed Dec 19, 2024
1 parent 401c50f commit 229af63
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/automated-staging-test-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:

- name: Determine variable type
run: |
test_type="automatedTest"
title="Automated"
file_path="../examples/Test/Automated/"
if [ ${{ github.event.inputs.name }} = "Golden Copy Staging Test" ]; then
test_type="goldenCopyTest"
title="Golden Copy"
file_path="../examples/Test/GoldenCopy/Expected/"
test_type=automatedTest
title=Automated
file_path=../examples/Test/Automated/
if [ "${{ github.event.inputs.name }}" == "Golden Copy Staging Test" ]; then
test_type=goldenCopyTest
title=Golden Copy
file_path=../examples/Test/GoldenCopy/Expected/
fi
echo "test_type=$test_type" >> $GITHUB_OUTPUT
echo "title=$title" >> $GITHUB_OUTPUT
Expand All @@ -41,7 +41,7 @@ jobs:
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.AUTOMATED_TEST_AZURE_STORAGE_CONNECTION_STRING }}
LOCAL_FILE_PATH: ${{ steps.getFunctionList.outputs.file_path }}
run: |
./gradlew rs-e2e:clean rs-e2e:${{ test_type }}
./gradlew rs-e2e:clean rs-e2e:${{ steps.getFunctionList.outputs.test_type }}
done
- name: Send slack notification on test failure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class GoldenCopyTest extends Specification {

def "Compare files"() {
// Currently reusing automated staging test workflows but we might need to pivot for cron schedule
// Get golden copy and input
// Get golden copy for 006

given:
def matchedFiles = fileMatcher.matchFiles(azureFiles, localFiles)
Expand Down

0 comments on commit 229af63

Please sign in to comment.