Skip to content

Commit ca8361f

Browse files
Merge pull request #2059 from lightpanda-io/integration-e2e-report
ci: send e2e integration results to slack
2 parents bc4afcd + 1c1bd81 commit ca8361f

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/e2e-integration-test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,20 @@ jobs:
6060
- run: chmod a+x ./lightpanda
6161

6262
- name: run end to end integration tests
63+
continue-on-error: true
6364
run: |
6465
./lightpanda serve --log-level error & echo $! > LPD.pid
65-
go run integration/main.go
66+
go run integration/main.go |tee result.log
6667
kill `cat LPD.pid`
68+
69+
- name: Send result to slack
70+
uses: slackapi/slack-github-action@v3.0.1
71+
with:
72+
errors: true
73+
method: files.uploadV2
74+
token: ${{ secrets.CI_SLACK_BOT_TOKEN }}
75+
payload: |
76+
channel_id: ${{ vars.E2E_SLACK_CHANNEL_ID }}
77+
initial_comment: "Last e2e integration tests"
78+
file: "./result.log"
79+
filename: "e2e-integration-${{ github.sha }}.txt"

0 commit comments

Comments
 (0)