test: clean up getResText() with its hint argument #1043
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
name: tests | |
on: | |
push: | |
branches-ignore: | |
- 'private/**' | |
pull_request: | |
branches-ignore: | |
- 'private/**' | |
create: | |
branches-ignore: | |
- 'private/**' | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: setup Java | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Enable KVM group perms | |
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 | |
mkdir -p ~/.android/avd/test.avd/ | |
- name: run tests | |
uses: reactivecircus/[email protected] | |
with: | |
api-level: 34 | |
arch: x86_64 | |
target: google_apis_playstore | |
script: tools/ci-build.sh | |
env: | |
KEYSTORE: ${{ secrets.KEYSTORE }} | |
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }} | |
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} | |
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} | |
- uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: dist/*.apk | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |