macos-clean-build-test.sh 605 B

123456789101112131415
  1. # Cleans, builds, and runs integration tests on macOS.
  2. # Can be used by `git bisect run` to automatically find the commit which introduced a problem.
  3. SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
  4. cd "$SCRIPT_DIR"/../.. || exit
  5. git clean -xdf
  6. pkill node
  7. appium &
  8. pkill IntegrationTestApp
  9. ./build.sh CompileNative
  10. ./samples/IntegrationTestApp/bundle.sh
  11. open -n ./samples/IntegrationTestApp/bin/Debug/net6.0/osx-arm64/publish/IntegrationTestApp.app
  12. pkill IntegrationTestApp
  13. dotnet test tests/Avalonia.IntegrationTests.Appium/ -l "console;verbosity=detailed"
  14. pkill IntegrationTestApp
  15. pkill node