-
Notifications
You must be signed in to change notification settings - Fork 14
43 lines (35 loc) · 1.03 KB
/
run-tests.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
name: Run OpenSIPS Conformance Tests
on:
# Triggers the workflow on all push or pull request events
push:
pull_request:
jobs:
setup-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Prepare SIPssert
uses: OpenSIPS/SIPssert/actions/Prepare_SIPssert@main
with:
sipssert-repo: ${{ github.repository }}
tests-repo: OpenSIPS/sipssert-opensips-tests
- name: Read and parse YAML file
id: set-matrix
uses: ./sipssert/actions/Set_Matrix
test:
needs: setup-matrix
strategy:
fail-fast: false
matrix: ${{fromJson(needs.setup-matrix.outputs.matrix)}}
runs-on: ${{ matrix.os }}
steps:
- name: Prepare SIPssert
uses: OpenSIPS/SIPssert/actions/Prepare_SIPssert@main
with:
sipssert-repo: ${{ github.repository }}
tests-repo: OpenSIPS/sipssert-opensips-tests
- name: Run Test
uses: ./sipssert/actions/Run_Test
with:
test_set: ${{ matrix.test_set }}