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 6a00482 commit 20d493b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ jobs:
./gradlew ftest ;;
"jar" )
./gradlew build
./gradlew ftest -Dft.fcli=build/libs/fcli.jar ;;
./gradlew ftest -Dft.fcli=$(pwd)/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 -
curl -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
curl -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 -
curl -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 20d493b

Please sign in to comment.