forked from Draegerwerk/sdc11073
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.03 KB
/
pat_integration.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
name: Run PAT tests
on:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
push:
branches:
- master
- v*
jobs:
sdc11073_provider_v2:
env:
EXPECTED_WAVEFORM_SAMPLES_4F: 100 # set to a low value as we cannot control GitHub ci network latency
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
tls_enable: [ true, false ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install sdc11073
run: python -m pip install .
- name: Run tests with tls enabled
if: ${{ matrix.tls_enable }}
run: python -m examples.ReferenceTestV2.run --tls
timeout-minutes: 2
- name: Run tests with tls disabled
if: ${{ !matrix.tls_enable }}
run: python -m examples.ReferenceTestV2.run
timeout-minutes: 2