-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix boolean param inheritance on Android (#162)
- Loading branch information
Michael Oberwasserlechner
authored
Jul 9, 2021
1 parent
e9403f1
commit f421e42
Showing
14 changed files
with
492 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
tags-ignore: | ||
- '*.*' | ||
paths-ignore: | ||
- README.md | ||
|
||
jobs: | ||
test-web: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
java-version: 14.x | ||
- uses: actions/checkout@v2 | ||
- name: Restore Dependency Cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }} | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm test | ||
# test-ios: | ||
# runs-on: macos-latest | ||
# timeout-minutes: 30 | ||
# strategy: | ||
# matrix: | ||
# xcode: | ||
# - /Applications/Xcode_12.4.app | ||
# steps: | ||
# - run: sudo xcode-select --switch ${{ matrix.xcode }} | ||
# - uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: 14.x | ||
# - uses: actions/checkout@v2 | ||
# - name: Restore Dependency Cache | ||
# uses: actions/cache@v1 | ||
# with: | ||
# path: ~/.npm | ||
# key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }} | ||
# - run: npm install | ||
# - run: npm run verify | ||
# working-directory: ./ios | ||
test-android: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout latest source | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Set up Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
java-version: 14.x | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
working-directory: ./android | ||
|
||
- name: Cache .gradle | ||
uses: actions/cache@v1 | ||
with: | ||
path: .gradle | ||
key: ${{ runner.os }}-dotgradle-${{ hashFiles('**/build.gradle') }} | ||
restore-keys: | | ||
${{ runner.os }}-dotgradle- | ||
- name: Cache gradle | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.gradle | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Install Capacitor Android dependency | ||
run: npm ci | ||
|
||
- name: Run Tests | ||
run: ./gradlew test | ||
working-directory: ./android |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 0 additions & 135 deletions
135
android/src/androidTest/java/com/byteowls/capacitor/oauth2/ConfigUtilsTest.java
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
android/src/androidTest/java/com/byteowls/capacitor/oauth2/OAuth2ClientPluginTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.