Repository navigation
64 lines (55 loc) · 1.88 KB
/
Copy pathreplay-dependency-matrix.yml
File metadata and controls
64 lines (55 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Session Replay Dependency Matrix
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
replay-dependency-matrix:
timeout-minutes: 30
runs-on: ubuntu-latest
name: ${{ matrix.name }} Matrix
strategy:
fail-fast: false
matrix:
include:
# Runs every version in gradle/compose-ui-versions.json
- name: Compose UI
task: composeUiTest
# Runs every version in gradle/coil3-versions.json
- name: Coil 3
task: coil3Test
steps:
- name: Checkout Repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Java Version
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
# --continue reports each failing version.
- name: Run Session Replay unit tests
run: ./gradlew :sentry-android-replay:${{ matrix.task }} --continue
- name: Upload test results
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: test-results-${{ matrix.task }}
path: |
sentry-android-replay/build/reports/*
sentry-android-replay/build/test-results/**/*.xml
- name: Test Report
uses: phoenix-actions/test-reporting@7317eea6e13c47348dd0bb318669485157c518d6 # pin@v16
if: always()
with:
name: JUnit ${{ matrix.name }}
path: |
sentry-android-replay/build/test-results/**/*.xml
reporter: java-junit
output-to: step-summary
fail-on-error: false