Skip to content

Commit

Permalink
update macOS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Adamczyk committed Sep 16, 2020
1 parent d475732 commit e307e42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/macos_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ jobs:
- name: Gradle clean build
uses: eskatos/gradle-command-action@v1
with:
gradle-executable: "./test_runner/gradlew"
arguments: "-p test_runner clean build"
arguments: "clean build"

- name: Prepare Google Service Account
env:
Expand All @@ -53,11 +52,9 @@ jobs:
- name: Gradle Integration Tests Android
uses: eskatos/gradle-command-action@v1
with:
gradle-executable: "./integration_tests/gradlew"
arguments: "--info -p integration_tests test --tests IntegrationTests.shouldMatchAndroidSuccessExitCodeAndPattern -Dflank-path=./test_runner/build/libs/flank.jar -Dyml-path=./src/test/resources/flank_android.yml"
arguments: "--info :integration_tests:test --tests IntegrationTests.shouldMatchAndroidSuccessExitCodeAndPattern -Dflank-path=./test_runner/build/libs/flank.jar -Dyml-path=./src/test/resources/flank_android.yml"

- name: Gradle Integration Tests iOS
uses: eskatos/gradle-command-action@v1
with:
gradle-executable: "./integration_tests/gradlew"
arguments: "--info -p integration_tests test --tests IntegrationTests.shouldMatchIosSuccessExitCodeAndPattern -Dflank-path=./test_runner/build/libs/flank.jar -Dyml-path=./src/test/resources/flank_ios.yml"
arguments: "--info :integration_tests:test --tests IntegrationTests.shouldMatchIosSuccessExitCodeAndPattern -Dflank-path=./test_runner/build/libs/flank.jar -Dyml-path=./src/test/resources/flank_ios.yml"
6 changes: 2 additions & 4 deletions .github/workflows/ubuntu-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ jobs:
- name: Gradle Integration Tests Android
uses: eskatos/gradle-command-action@v1
with:
gradle-executable: "./integration_tests/gradlew"
arguments: "--info -p integration_tests test --tests IntegrationTests.shouldMatchAndroidSuccessExitCodeAndPattern -Dflank-path=./test_runner/build/libs/flank.jar -Dyml-path=./src/test/resources/flank_android.yml"
arguments: "--info :integration_tests:test --tests IntegrationTests.shouldMatchAndroidSuccessExitCodeAndPattern -Dflank-path=./test_runner/build/libs/flank.jar -Dyml-path=./src/test/resources/flank_android.yml"

- name: Gradle Integration Tests iOS
uses: eskatos/gradle-command-action@v1
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
with:
gradle-executable: "./integration_tests/gradlew"
arguments: "--info -p integration_tests test --tests IntegrationTests.shouldMatchIosSuccessExitCodeAndPattern -Dflank-path=./test_runner/build/libs/flank.jar -Dyml-path=./src/test/resources/flank_ios.yml"
arguments: "--info :integration_tests:test --tests IntegrationTests.shouldMatchIosSuccessExitCodeAndPattern -Dflank-path=./test_runner/build/libs/flank.jar -Dyml-path=./src/test/resources/flank_ios.yml"

0 comments on commit e307e42

Please sign in to comment.