Skip to content

Commit a9ef936

Browse files
committed
ci: update TCK scheduled
1 parent b653f6c commit a9ef936

2 files changed

Lines changed: 45 additions & 29 deletions

File tree

.github/workflows/DMN_TCK.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: DMN_TCK
22
on:
3-
schedule:
4-
- cron: '* 1 * * *'
53
push:
64
pull_request:
75

@@ -29,30 +27,4 @@ jobs:
2927
- name: Execute TCK tests
3028
run: npm run tck
3129
env:
32-
TCK_DIR: tmp/dmn-tck
33-
34-
Propose_TCK_Update:
35-
runs-on: ubuntu-latest
36-
if: ${{ failure() }}
37-
38-
needs: Build
39-
40-
permissions:
41-
contents: read
42-
issues: write
43-
44-
steps:
45-
- name: Update TCK results
46-
run: npm run tck
47-
env:
48-
TCK_DIR: tmp/dmn-tck
49-
DRY_RUN: false
50-
- name: Propose update to TCK results
51-
uses: peter-evans/create-pull-request@v7
52-
with:
53-
commit-message: |
54-
test(tck): update results
55-
branch: update-dmn-tck-status
56-
title: Update DMN_TCK test results
57-
body: |
58-
Updating DMN_TCK results after test failure in [this action](https://github.com/nikku/feelin/actions/runs/${{ github.run_id }}).
30+
TCK_DIR: tmp/dmn-tck
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: DMN_TCK_UPDATE
2+
on:
3+
schedule:
4+
- cron: '* 1 * * *'
5+
6+
jobs:
7+
Build:
8+
runs-on: ubuntu-latest
9+
10+
permissions:
11+
contents: read
12+
issues: write
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v5
17+
- name: Checkout TCK repo
18+
uses: actions/checkout@v5
19+
with:
20+
repository: dmn-tck/tck
21+
path: tmp/dmn-tck
22+
- name: Use Node.js
23+
uses: actions/setup-node@v5
24+
with:
25+
node-version: 20
26+
cache: 'npm'
27+
- name: Install dependencies
28+
run: npm ci
29+
- name: Build
30+
run: npm run build
31+
- name: Update TCK results
32+
run: npm run tck
33+
env:
34+
TCK_DIR: tmp/dmn-tck
35+
DRY_RUN: false
36+
- name: Propose update to TCK results
37+
uses: peter-evans/create-pull-request@v7
38+
with:
39+
commit-message: |
40+
test(tck): update results
41+
branch: update-dmn-tck-status
42+
title: Update DMN_TCK test results
43+
body: |
44+
Updating DMN_TCK results after test failure in [this action](https://github.com/nikku/feelin/actions/runs/${{ github.run_id }}).

0 commit comments

Comments
 (0)