mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
name: Accessibility Tests
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
- cron: "0 2 * * 1-5"
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
tests:
|
|
name: Tests
|
|
# HealthChat: skip in this fork. It runs nightly Mon-Fri and fails at checkout, because
|
|
# permissions: {} leaves a metadata-only token that cannot read an INTERNAL repo. Gated rather
|
|
# than deleted so the file keeps rebasing cleanly. Run locally with
|
|
# `swift run tools ci accessibility-tests`.
|
|
if: github.repository == 'element-hq/element-x-ios'
|
|
runs-on: xcode-27
|
|
timeout-minutes: 150
|
|
|
|
concurrency:
|
|
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.
|
|
group: ${{ format('accessibility-tests-{0}', github.ref) }}
|
|
cancel-in-progress: true
|
|
|
|
steps:
|
|
- uses: nschloe/action-cached-lfs-checkout@385a8ecc719e50b8c71af6ab01a624b486b7c3bc # v1.2.5
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup environment
|
|
run: source ci_scripts/ci_common.sh && setup_github_actions_environment
|
|
|
|
- name: Run tests
|
|
run: swift run -q tools ci accessibility-tests
|
|
|
|
- name: Archive artifacts
|
|
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
if: failure()
|
|
with:
|
|
name: Results
|
|
path: test_output/AccessibilityTests.xcresult.zip
|
|
retention-days: 7
|
|
if-no-files-found: ignore
|