Skip to content

Commit

Permalink
[FAI-14452] update ci to use shellspec cli (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeniii authored Dec 19, 2024
1 parent d1a294d commit 026cbcb
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 026cbcb

Please sign in to comment.