fix(a11y,text-input): error description is heard twice with Talkback … #3129
This file contains hidden or 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: build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| tags: | |
| - '[0-9]+.[0-9]+.[0-9]+' | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - labeled | |
| - unlabeled | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up our JDK environment | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Set up signing configuration | |
| uses: ./.github/actions/setup-signing | |
| with: | |
| keystore: ${{ secrets.SIGNING_KEYSTORE }} | |
| store-password: ${{ secrets.SIGNING_STORE_PASSWORD }} | |
| key-alias: ${{ secrets.SIGNING_KEY_ALIAS }} | |
| key-password: ${{ secrets.SIGNING_KEY_PASSWORD }} | |
| - 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 | |
| - name: Run instrumented tests | |
| uses: reactivecircus/android-emulator-runner@v2 | |
| with: | |
| api-level: 35 | |
| arch: x86_64 | |
| script: ./gradlew :core:connectedCheck | |
| - name: Run snapshot tests | |
| run: ./gradlew verifyPaparazziDebug | |
| - name: Run Android Linter | |
| run: ./gradlew lintProdDebug lintProdRelease | |
| - name: Build | |
| run: | | |
| # Git SHA is equal to github.event.pull_request.head.sha for pull requests | |
| # This value is unset if workflow has not been triggered by a pull request, use GITHUB_SHA instead | |
| BRANCH_SHA=${{ github.event.pull_request.head.sha }} | |
| COMMIT_SHA=${BRANCH_SHA:-$GITHUB_SHA} | |
| ./gradlew assembleProd -PversionNameSuffix="-${COMMIT_SHA::7}" -PversionCode=$GITHUB_RUN_NUMBER --stacktrace | |
| - name: Upload tests artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: tests | |
| path: | | |
| core/build/paparazzi | |
| core/build/reports/paparazzi | |
| core/build/reports/androidTests | |
| core/build/reports/tests | |
| - name: Upload app artifacts | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: app | |
| path: app/build/outputs/apk/*/*/*.apk | |
| maven-central-release: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') | |
| needs: build | |
| environment: | |
| name: maven-central-release | |
| url: https://mvnrepository.com/artifact/com.orange.ouds.android | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - name: Set up our JDK environment | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Set up signing configuration | |
| uses: ./.github/actions/setup-signing | |
| with: | |
| keystore: ${{ secrets.SIGNING_KEYSTORE }} | |
| store-password: ${{ secrets.SIGNING_STORE_PASSWORD }} | |
| key-alias: ${{ secrets.SIGNING_KEY_ALIAS }} | |
| key-password: ${{ secrets.SIGNING_KEY_PASSWORD }} | |
| - name: Publish release to Maven Central | |
| env: | |
| GNUPG_SIGNING_KEY_ID: ${{ secrets.GNUPG_SIGNING_KEY_ID }} | |
| GNUPG_SIGNING_PASSWORD: ${{ secrets.GNUPG_SIGNING_PASSWORD }} | |
| GNUPG_SIGNING_SECRET_KEY: ${{ secrets.GNUPG_SIGNING_SECRET_KEY }} | |
| CENTRAL_PUBLISHER_PORTAL_TOKEN: ${{ secrets.CENTRAL_PUBLISHER_PORTAL_TOKEN }} | |
| CENTRAL_PUBLISHER_PORTAL_USERNAME: ${{ secrets.CENTRAL_PUBLISHER_PORTAL_USERNAME }} | |
| CENTRAL_PUBLISHER_PORTAL_PASSWORD: ${{ secrets.CENTRAL_PUBLISHER_PORTAL_PASSWORD }} | |
| run: ./gradlew publishToCentralPublisherPortal | |
| github-release: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') | |
| needs: build | |
| environment: | |
| name: github-release | |
| url: https://github.com/Orange-OpenSource/ouds-android/releases | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - name: Set up our JDK environment | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Set up signing configuration | |
| uses: ./.github/actions/setup-signing | |
| with: | |
| keystore: ${{ secrets.SIGNING_KEYSTORE }} | |
| store-password: ${{ secrets.SIGNING_STORE_PASSWORD }} | |
| key-alias: ${{ secrets.SIGNING_KEY_ALIAS }} | |
| key-password: ${{ secrets.SIGNING_KEY_PASSWORD }} | |
| - name: Publish release to GitHub | |
| run: ./gradlew publishToGitHub | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| google-play-store-release: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') | |
| needs: build | |
| environment: | |
| name: google-play-store-release | |
| url: https://play.google.com/store/apps | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - name: Set up our JDK environment | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Publish release to Google Play Store | |
| run: | | |
| ./gradlew assembleProdRelease bundleProdRelease | |
| curl -F 'file=@app/build/outputs/bundle/prodRelease/app-prod-release.aab' https://oma-portal.orange.fr/oma/api/v1/external/applications/${{ secrets.OMA_APP_ID }}/artifacts -H "apiKey:${{ secrets.OMA_APP_TOKEN }}" | |
| - name: Store Google Play Store artifacts | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: google-play-store | |
| path: | | |
| app/build/outputs/apk/*/*/*.apk | |
| app/build/outputs/bundle/*/*.aab |