diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cbd0319f4..662fe1069 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -51,7 +51,18 @@ jobs: - name: Build executable run: make - - name: Run attestation command integration tests + - name: Run attestation command integration tests - windows syntax + if: ${{ matrix.os == 'windows-latest' }} + run: | + attestation_cmd_test_dir="test/integration/attestation-cmd" + for (script in "$attestation_cmd_test_dir"/*.sh); do + if [ -f "$script" ]; then + echo "Running $script..." + bash "$script" + fi + done + - name: Run attestation command integration tests - linux syntax + if: ${{ matrix.os != 'windows-latest' }} run: | attestation_cmd_test_dir="test/integration/attestation-cmd" for script in "$attestation_cmd_test_dir"/*.sh; do