run integration tests with windows specific syntax
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
fb7f2bfea2
commit
9f6d18c70e
1 changed files with 12 additions and 1 deletions
13
.github/workflows/go.yml
vendored
13
.github/workflows/go.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue