summaryrefslogtreecommitdiff
path: root/.github/workflows/package-smoketest.yml
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-24 14:04:01 +0200
committerChristian Breunig <christian@breunig.cc>2024-06-24 14:04:01 +0200
commit8491ca0bdaef60df18d663e99086d73ce4d13cc5 (patch)
treeb855f3d077e87a5f53bebfdcc0883767fa18c7ef /.github/workflows/package-smoketest.yml
parent23e17896683a87b91b36bef098866f080b11b191 (diff)
downloadvyos-1x-8491ca0bdaef60df18d663e99086d73ce4d13cc5.tar.gz
vyos-1x-8491ca0bdaef60df18d663e99086d73ce4d13cc5.zip
GitHub: T6494: add PR comment steps
Diffstat (limited to '.github/workflows/package-smoketest.yml')
-rw-r--r--.github/workflows/package-smoketest.yml29
1 files changed, 28 insertions, 1 deletions
diff --git a/.github/workflows/package-smoketest.yml b/.github/workflows/package-smoketest.yml
index fd1874b0f..35a86c145 100644
--- a/.github/workflows/package-smoketest.yml
+++ b/.github/workflows/package-smoketest.yml
@@ -68,7 +68,16 @@ jobs:
name: vyos-${{ needs.build.outputs.build_version }}
path: build
- name: VyOS CLI smoketests
- run: ls -al; ls -al build; sudo make test
+ run: sudo make test
+ - name: Add PR comment
+ if: always()
+ uses: mshick/add-pr-comment@v2
+ with:
+ message-success: '👍 VyOS CLI smoketests finished successfully!'
+ message-failure: '❌ VyOS CLI smoketests failed!'
+ message-cancelled: '❌ VyOS CLI smoketests cancelled!'
+ allow-repeats: false
+ refresh-message-position: true
config-load-tests:
needs: build
@@ -89,6 +98,15 @@ jobs:
path: build
- name: VyOS config tests
run: sudo make testc
+ - name: Add PR comment
+ if: always()
+ uses: mshick/add-pr-comment@v2
+ with:
+ message-success: '👍 VyOS config tests finished successfully!'
+ message-failure: '❌ VyOS config tests failed!'
+ message-cancelled: '❌ VyOS config tests cancelled!'
+ allow-repeats: false
+ refresh-message-position: true
raid1-install-test:
needs: build
@@ -109,3 +127,12 @@ jobs:
path: build
- name: VyOS RAID1 install test
run: sudo make testraid
+ - name: Add PR comment
+ if: always()
+ uses: mshick/add-pr-comment@v2
+ with:
+ message-success: '👍 RAID1 Smoketests finished successfully!'
+ message-failure: '❌ RAID1 Smoketests failed!'
+ message-cancelled: '❌ RAID1 action cancelled!'
+ allow-repeats: false
+ refresh-message-position: true