add v2 tests #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run PAT tests | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
push: | |
branches: | |
- master | |
- v* | |
jobs: | |
sdc11073_provider_v1: | |
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.ReferenceTest.run --tls | |
timeout-minutes: 2 | |
- name: Run tests with tls disabled | |
if: ${{ !matrix.tls_enable }} | |
run: python -m examples.ReferenceTest.run | |
timeout-minutes: 2 |