diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6ab0e1a..c0dac28 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,16 +48,6 @@ jobs: working-directory: test run: | docker build . -t 'farosai/shellspec:kcov' - - # Run shellspec tests againgst airbyte-local nodejs - - name: Run ShellSpec tests - working-directory: airbyte-local-cli-nodejs - run: | - docker run --rm \ - -v "$PWD/test/exec:/src" \ - -v "$PWD/test/resources:/src/resources" \ - -v "$PWD/out/pkg/airbyte-local:/src/airbyte-local" \ - farosai/shellspec:kcov # Run shellspec tests againgst airbyte-local.sh - name: Run ShellSpec tests @@ -67,6 +57,18 @@ jobs: -v "$PWD/airbyte-local.sh:/airbyte-local.sh" \ farosai/shellspec:kcov + - name: Install ShellSpec + run: | + curl -fsSL https://git.io/shellspec | sh -s 0.28.1 --yes + + # Run shellspec tests againgst airbyte-local nodejs + - name: Run ShellSpec tests + working-directory: airbyte-local-cli-nodejs + run: | + cp ./out/pkg/airbyte-local ./test/exec/airbyte-local + cp -rf ./test/resources ./test/exec/resources + shellspec --chdir ./test/exec + - name: SonarCloud Scan uses: sonarsource/sonarcloud-github-action@master env: