Skip to content

Commit

Permalink
Build weekly & post results to Slack
Browse files Browse the repository at this point in the history
  • Loading branch information
JanneKiiskila committed Jun 6, 2024
1 parent 0293806 commit 61b4b93
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
paths-ignore:
- '**/README.md'
schedule:
# Once week 04:14 on Saturday
- cron: '14 4 * * Sat'

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
Expand All @@ -25,6 +28,7 @@ jobs:
RESULT_LOG_FILE: result_pytest.log
RESULT_HTML: result.html
RESULT_XML: result.xml
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- name: Checkout continuous-integration
uses: actions/checkout@v4
Expand Down Expand Up @@ -151,11 +155,18 @@ jobs:
action_fail: true
action_fail_on_inconclusive: true
check_name: mbed-edge-examples-result
- name: Post status to Slack testing_builds
if: always()
uses: act10ns/slack@v2
with:
status: ${{ job.status }}
channel: '#testing_builds'

docker-build:
runs-on: client
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- name: Checkout continuous-integration
uses: actions/checkout@v4
Expand All @@ -170,3 +181,9 @@ jobs:
- name: Docker system prune
if: always()
run: docker system prune -f
- name: Post status to Slack testing_builds
if: always()
uses: act10ns/slack@v2
with:
status: ${{ job.status }}
channel: '#testing_builds'

0 comments on commit 61b4b93

Please sign in to comment.