Skip to content

Commit

Permalink
chore: Initial workflow for running functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Jul 12, 2023
1 parent 5699221 commit 6a00482
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,22 @@ jobs:
- name: Run Tests
shell: bash
run: |
echo "Hello"
case "${{ matrix.type }}" in
"java" )
./gradlew ftest ;;
"jar" )
./gradlew build
./gradlew ftest -Dft.fcli=build/libs/fcli.jar ;;
"native" )
case "${{ matrix.os }}" in
"ubuntu-latest" )
curl url -fsSL -o - https://github.com/fortify-ps/fcli/releases/download/dev_develop/fcli-linux.tgz | tar -zxvf -
./gradlew ftest -Dft.fcli=./fcli ;;
"windows-latest" )
curl url -fsSL -o - https://github.com/fortify-ps/fcli/releases/download/dev_develop/fcli-windows.zip | 7z e -si
./gradlew ftest -Dft.fcli=./fcli.exe ;;
"macos-latest" )
curl url -fsSL -o - https://github.com/fortify-ps/fcli/releases/download/dev_develop/fcli-mac.tgz | tar -zxvf -
./gradlew ftest -Dft.fcli=./fcli ;;
esac ;;
esac

0 comments on commit 6a00482

Please sign in to comment.