Skip to content

Commit

Permalink
Switched to ubuntu runner
Browse files Browse the repository at this point in the history
  • Loading branch information
kober32 committed May 10, 2024
1 parent 859fb87 commit a19bacc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
name: Build
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
ktlint:
name: ktlint
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
tests:
name: Tests
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
Expand All @@ -33,9 +33,13 @@ jobs:
OP_URL: ${{ secrets.TESTS_OP_URL }}
IN_URL: ${{ secrets.TESTS_IN_URL }}
run: echo -e tests.sdk.cloudServerUrl="$CL_URL"\\ntests.sdk.cloudServerLogin="$CL_LGN"\\ntests.sdk.cloudServerPassword="$CL_PWD"\\ntests.sdk.cloudApplicationId="$CL_AID"\\ntests.sdk.enrollmentServerUrl="$ER_URL"\\ntests.sdk.operationsServerUrl="$OP_URL"\\ntests.sdk.inboxServerUrl="$IN_URL"\\ntests.sdk.sdkConfig="$SDK_CONFIG" > configs/integration-tests.properties
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Test the app (integration tests)
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 34
arch: arm64-v8a
api-level: 29
script: ./gradlew clean connectedAndroidTest --info

0 comments on commit a19bacc

Please sign in to comment.