mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 16:08:46 +00:00
* ci: cancel superseded workflow runs on the same PR * ci: skip test reports for cancelled upstream runs Addresses: 4583936850, 6931471819 https://github.com/linagora/tmail-flutter/pull/5151#discussion_r4583936850 https://github.com/linagora/tmail-flutter/pull/5151#issuecomment-6931471819 * ci: rely on called workflow concurrency for memory-check label runs Addresses: 4583936853, 6931471819 https://github.com/linagora/tmail-flutter/pull/5151#discussion_r4583936853 https://github.com/linagora/tmail-flutter/pull/5151#issuecomment-6931471819
32 lines
727 B
YAML
32 lines
727 B
YAML
on:
|
|
workflow_run:
|
|
workflows:
|
|
- "Analyze and test"
|
|
- "HTML email display"
|
|
types:
|
|
- completed
|
|
|
|
name: Test Reports
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
reports:
|
|
permissions:
|
|
contents: read
|
|
actions: read
|
|
checks: write
|
|
name: Upload test reports
|
|
# superseded runs are cancelled by concurrency; nothing to report
|
|
if: github.event.workflow_run.conclusion != 'cancelled'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dorny/test-reporter@d1b5dff021aa968b288b02285a8bf47471c5928a # v3.2.0
|
|
with:
|
|
artifact: /test-reports-(.*)/
|
|
name: Flutter Tests - $1
|
|
path: "*.json"
|
|
reporter: flutter-json
|
|
only-summary: "true"
|