testdriverai 7.2.14 → 7.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,40 +29,14 @@ jobs:
|
|
|
29
29
|
- name: Install Sentry CLI
|
|
30
30
|
run: npm install -g @sentry/cli
|
|
31
31
|
|
|
32
|
-
- name: Sentry Cron
|
|
33
|
-
env:
|
|
34
|
-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
35
|
-
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
36
|
-
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
32
|
+
- name: Run Linux tests with Sentry Cron monitoring
|
|
37
33
|
run: |
|
|
38
|
-
|
|
39
|
-
echo "CHECK_IN_ID=$CHECK_IN_ID" >> $GITHUB_ENV
|
|
40
|
-
|
|
41
|
-
- name: Run Linux tests
|
|
42
|
-
id: tests
|
|
43
|
-
run: npx vitest run test/testdriver/*.test.mjs
|
|
34
|
+
sentry-cli monitors run testdriver-linux-acceptance -- npx vitest run test/testdriver/*.test.mjs
|
|
44
35
|
env:
|
|
36
|
+
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
|
45
37
|
TD_API_KEY: ${{ secrets.TD_API_KEY }}
|
|
46
38
|
TD_OS: linux
|
|
47
39
|
|
|
48
|
-
- name: Sentry Cron Check-in (Success)
|
|
49
|
-
if: success()
|
|
50
|
-
env:
|
|
51
|
-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
52
|
-
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
53
|
-
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
54
|
-
run: |
|
|
55
|
-
sentry-cli monitors checkin testdriver-linux-acceptance --check-in-id ${{ env.CHECK_IN_ID }} --status ok
|
|
56
|
-
|
|
57
|
-
- name: Sentry Cron Check-in (Failure)
|
|
58
|
-
if: failure()
|
|
59
|
-
env:
|
|
60
|
-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
61
|
-
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
62
|
-
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
63
|
-
run: |
|
|
64
|
-
sentry-cli monitors checkin testdriver-linux-acceptance --check-in-id ${{ env.CHECK_IN_ID }} --status error
|
|
65
|
-
|
|
66
40
|
- name: Upload test results to Sentry Prevent
|
|
67
41
|
if: ${{ !cancelled() }}
|
|
68
42
|
uses: getsentry/prevent-action@v0
|
|
@@ -29,40 +29,14 @@ jobs:
|
|
|
29
29
|
- name: Install Sentry CLI
|
|
30
30
|
run: npm install -g @sentry/cli
|
|
31
31
|
|
|
32
|
-
- name: Sentry Cron
|
|
33
|
-
env:
|
|
34
|
-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
35
|
-
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
36
|
-
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
32
|
+
- name: Run Windows tests with Sentry Cron monitoring
|
|
37
33
|
run: |
|
|
38
|
-
|
|
39
|
-
echo "CHECK_IN_ID=$CHECK_IN_ID" >> $GITHUB_ENV
|
|
40
|
-
|
|
41
|
-
- name: Run Windows tests
|
|
42
|
-
id: tests
|
|
43
|
-
run: npx vitest run test/testdriver/*.test.mjs
|
|
34
|
+
sentry-cli monitors run testdriver-windows-acceptance -- npx vitest run test/testdriver/*.test.mjs
|
|
44
35
|
env:
|
|
36
|
+
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
|
45
37
|
TD_API_KEY: ${{ secrets.TD_API_KEY }}
|
|
46
38
|
TD_OS: windows
|
|
47
39
|
|
|
48
|
-
- name: Sentry Cron Check-in (Success)
|
|
49
|
-
if: success()
|
|
50
|
-
env:
|
|
51
|
-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
52
|
-
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
53
|
-
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
54
|
-
run: |
|
|
55
|
-
sentry-cli monitors checkin testdriver-windows-acceptance --check-in-id ${{ env.CHECK_IN_ID }} --status ok
|
|
56
|
-
|
|
57
|
-
- name: Sentry Cron Check-in (Failure)
|
|
58
|
-
if: failure()
|
|
59
|
-
env:
|
|
60
|
-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
61
|
-
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
62
|
-
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
63
|
-
run: |
|
|
64
|
-
sentry-cli monitors checkin testdriver-windows-acceptance --check-in-id ${{ env.CHECK_IN_ID }} --status error
|
|
65
|
-
|
|
66
40
|
- name: Upload test results to Sentry Prevent
|
|
67
41
|
if: ${{ !cancelled() }}
|
|
68
42
|
uses: getsentry/prevent-action@v0
|
package/package.json
CHANGED