Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 54ea038

Browse files
committed
test(trdl-actions): e2e-test action setup-app preset
Signed-off-by: Alexandr Zaytsev <[email protected]>
1 parent 0294487 commit 54ea038

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.github/workflows/_test_e2e_setup-app_manual.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
root-version: 12
2020
root-sha512: 6462a80292eb6d7712d8a18126366511f9c47a566f121a7745cfd68b624dc340b6591c2cadfe20690eb38296c399a3f4e6948aca90be60e446ed05c3c238294c
2121
group: 0
22-
# channel: stable # optional
22+
# channel: stable # optional param
2323

2424
- name: Use kubedog binary
2525
run: |
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test e2e setup-app preset
2+
3+
on: [push]
4+
5+
jobs:
6+
test-e2e-setup-app-preset:
7+
runs-on: ubuntu-22.04
8+
timeout-minutes: 10
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- name: Setup application
15+
uses: ./setup-app
16+
with:
17+
preset: werf
18+
19+
- name: Use werf binary
20+
run: |
21+
werf --help

install/src/action.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('install/action.ts', function () {
4040
expect(opts).toHaveProperty('channel', defaults.channel)
4141
expect(opts).toHaveProperty('version')
4242
expect(opts.version).toMatch(/[0-9.]+/)
43-
})
43+
}, 30e3)
4444
it('should work with all inputs', async function () {
4545
const inputs = {
4646
channel: 'some channel',

0 commit comments

Comments
 (0)