41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: Accessibility Tests
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
- cron: '0 2 * * 1-5'
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
tests:
|
|
name: Tests
|
|
runs-on: macos-26
|
|
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@1c185ad576953eab13e35ffe1bffef437d97e9d2 # v1.2.4
|
|
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@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
if: failure()
|
|
with:
|
|
name: Results
|
|
path: test_output/AccessibilityTests.xcresult.zip
|
|
retention-days: 7
|
|
if-no-files-found: ignore
|