Skip to content

add v2 tests (#398)

add v2 tests (#398) #6

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