diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-24 14:04:01 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-06-24 14:04:01 +0200 |
commit | 8491ca0bdaef60df18d663e99086d73ce4d13cc5 (patch) | |
tree | b855f3d077e87a5f53bebfdcc0883767fa18c7ef /.github | |
parent | 23e17896683a87b91b36bef098866f080b11b191 (diff) | |
download | vyos-1x-8491ca0bdaef60df18d663e99086d73ce4d13cc5.tar.gz vyos-1x-8491ca0bdaef60df18d663e99086d73ce4d13cc5.zip |
GitHub: T6494: add PR comment steps
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/package-smoketest.yml | 29 |
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 |