Skip to content

Commit 3c588e5

Browse files
committed
feat: update .gitignore and add flaky.yml workflow
- Change file extension for GitHub Actions workflows from .yml to .yaml in .gitignore - Create a new GitHub Actions workflow file 'flaky.yml' for running tests and uploading results to Trunk.io
1 parent 6183f87 commit 3c588e5

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

.github/workflows/flaky.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
- develop
6+
pull_request:
7+
branches:
8+
- main
9+
- develop
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Run Tests
17+
run: ...
18+
19+
- name: Upload Test Results to Trunk.io
20+
if: ${{ !cancelled() }} # Upload the results even if the tests fail
21+
continue-on-error: true # don't fail this job if the upload fails
22+
uses: trunk-io/analytics-uploader@main
23+
with:
24+
junit-paths: "**/*.xml"
25+
org-slug: deanmachines
26+
token: ${{ secrets.TRUNK_API_TOKEN }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ opnapi.json
127127
openapi.json
128128

129129
# GitHub Actions
130-
.github/workflows/**.yml
130+
131131
.github/workflows/**.yaml
132132
.github/actions/**/node_modules/
133133
.github/actions/**/dist/

0 commit comments

Comments
 (0)