From dd1a260aeec757c278ee4e379c5ed1054c9fe22d Mon Sep 17 00:00:00 2001 From: basteln3rk Date: Thu, 16 Feb 2023 14:25:58 +0000 Subject: [PATCH] fix typo; improve error handling in github action --- .github/workflows/cookiecutter-e2e.yml | 5 +++-- e2e-tests/cookiecutters/test_cookiecutter.sh | 0 2 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 e2e-tests/cookiecutters/test_cookiecutter.sh diff --git a/.github/workflows/cookiecutter-e2e.yml b/.github/workflows/cookiecutter-e2e.yml index 508e6cc9f..7013d3951 100644 --- a/.github/workflows/cookiecutter-e2e.yml +++ b/.github/workflows/cookiecutter-e2e.yml @@ -31,7 +31,7 @@ jobs: - { cookiecutter: "tap-template", replay: "tap-rest-custom.json", python-version: "3.9", os: "ubuntu-latest" } - { cookiecutter: "tap-template", replay: "tap-rest-jwt.json", python-version: "3.9", os: "ubuntu-latest" } - { cookiecutter: "tap-template", replay: "tap-rest-oauth2.json", python-version: "3.9", os: "ubuntu-latest" } - - { cookiecutter: "tap-template", replay: "target-per_record.json", python-version: "3.9", os: "ubuntu-latest" } + - { cookiecutter: "target-template", replay: "target-per_record.json", python-version: "3.9", os: "ubuntu-latest" } steps: - name: Check out the repository @@ -63,7 +63,8 @@ jobs: CC_TEMPLATE: cookiecutter/${{ matrix.cookiecutter }} REPLAY_FILE: e2e-tests/cookiecutters/${{ matrix.replay }} run: | - bash e2e-tests/cookiecutters/test_cookiecutter.sh $CC_TEMPLATE $REPLAY_FILE 0 + chmod +x ./e2e-tests/cookiecutters/test_cookiecutter.sh + ./e2e-tests/cookiecutters/test_cookiecutter.sh $CC_TEMPLATE $REPLAY_FILE 0 - uses: actions/upload-artifact@v3 with: diff --git a/e2e-tests/cookiecutters/test_cookiecutter.sh b/e2e-tests/cookiecutters/test_cookiecutter.sh old mode 100644 new mode 100755