mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-18 06:04:33 +01:00
CI uploads test results with Trunk's uploader v2.1.8 (GST-2999) (#4453)
Free-tests CI now uploads test results to Trunk with analytics-uploader v2.1.8 and analytics-cli 0.17.0, up from v2.1.6 and 0.16.2. Why: Trunk warned that uploader v2.1.6 may pick up analytics-cli 1.0.0 when it ships and then fail to upload; v2.1.8 never resolves a CLI above 0.x. Nothing to do. Co-authored-by: Tyler Beebe <tsb252@gmail.com> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
3 files changed
+5
-4
No files matched your search
@@ -816,13 +816,13 @@ jobs:
|
||||
if: env.TRUNK_ORG_API_TOKEN != ''
|
||||
timeout-minutes: 5
|
||||
continue-on-error: true
|
||||
uses: trunk-io/analytics-uploader@a86313c7029d22e6ea2d5c346060a224d90053dc # v2.1.6
|
||||
uses: trunk-io/analytics-uploader@9886de74a788c450c793109577a4d97bfb3e799f # v2.1.8
|
||||
with:
|
||||
junit-paths: ${{ runner.temp }}/free-junit/**/*.xml
|
||||
org-slug: garry-tan
|
||||
token: ${{ env.TRUNK_ORG_API_TOKEN }}
|
||||
test-collection-id: 7yDVXXE3
|
||||
cli-version: 0.16.2
|
||||
cli-version: 0.17.0
|
||||
use-cache: 'false'
|
||||
quarantine: 'false'
|
||||
use-uncloned-repo: 'true'
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
- CI now uploads free-suite test results to Trunk with analytics-uploader v2.1.8 and analytics-cli 0.17.0, up from v2.1.6 and 0.16.2.
|
||||
@@ -99,14 +99,14 @@ describe('free-tests workflow wiring', () => {
|
||||
}
|
||||
expect(download.uses).toMatch(/^actions\/download-artifact@[0-9a-f]{40}$/);
|
||||
expect(download.with).toEqual({ pattern: 'free-junit-*', path: '${{ runner.temp }}/free-junit' });
|
||||
expect(upload.uses).toBe('trunk-io/analytics-uploader@a86313c7029d22e6ea2d5c346060a224d90053dc');
|
||||
expect(upload.uses).toBe('trunk-io/analytics-uploader@9886de74a788c450c793109577a4d97bfb3e799f');
|
||||
expect(upload['timeout-minutes']).toBe(5);
|
||||
expect(upload.with).toEqual({
|
||||
'junit-paths': '${{ runner.temp }}/free-junit/**/*.xml',
|
||||
'org-slug': 'garry-tan',
|
||||
token: '${{ env.TRUNK_ORG_API_TOKEN }}',
|
||||
'test-collection-id': '7yDVXXE3',
|
||||
'cli-version': '0.16.2',
|
||||
'cli-version': '0.17.0',
|
||||
'use-cache': 'false',
|
||||
quarantine: 'false',
|
||||
'use-uncloned-repo': 'true',
|
||||
|
||||
Reference in new issue
Block a user