-
Notifications
You must be signed in to change notification settings - Fork 126
51 lines (41 loc) · 1.23 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Stylesheets Tests
on:
push:
pull_request:
branches: [ dev ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test1:
runs-on: ubuntu-latest
container:
image: ghcr.io/teic/jenkins:dev
options: "--user root"
steps:
- uses: actions/checkout@v3
- name: Run tests from the Test directory
run: make clean test deb dist
- name: Slack Notification
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status }}
MSG_MINIMAL: commit,actions url
test2:
runs-on: ubuntu-latest
container:
image: ghcr.io/teic/jenkins:dev
options: "--user root"
steps:
- uses: actions/checkout@v3
- name: Run tests from the Test2 directory
run: make test2
- name: Slack Notification
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status }}
MSG_MINIMAL: commit,actions url