File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Smoke Test Homebrew install"
2+
3+ on :
4+ schedule :
5+ - cron : " 0 0 * * *"
6+
7+ jobs :
8+ smoke-test-homebrew :
9+ name : Test on ${{ matrix.runner }}
10+ runs-on : ${{ matrix.runner}}
11+ strategy :
12+ matrix :
13+ runner : [macos-13, macos-14, macos-15]
14+ fail-fast : false
15+ steps :
16+ - name : Install mongosh
17+ run : brew install mongosh
18+
19+ - name : Run smoke tests
20+ run : npx --yes mongodb-runner exec -- sh -c 'env MONGOSH_SMOKE_TEST_SERVER=$MONGODB_URI mongosh --smokeTests'
21+
22+ - name : Report failure
23+ if : ${{ failure() }}
24+ env :
25+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_MONGOSH_DEVEL_WEBHOOK_URL }}
26+ SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
27+ 28+ with :
29+ payload : |
30+ {
31+ "text": "Homebrew smoke test failed on ${{ matrix.runner }}",
32+ "blocks": [
33+ {
34+ "type": "section",
35+ "text": {
36+ "type": "mrkdwn",
37+ "text": "Homebrew smoke test failed on ${{ matrix.runner }}: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>"
38+ }
39+ }
40+ ]
41+ }
You can’t perform that action at this time.
0 commit comments