Skip to content

Merge pull request #239 from th2-net/dev_1.3.1 #1282

Merge pull request #239 from th2-net/dev_1.3.1

Merge pull request #239 from th2-net/dev_1.3.1 #1282

Workflow file for this run

name: CI tests
on:
# pull_request: # It duplicates push in PRs
push:
jobs:
test:
name: Run tests
strategy:
matrix:
py_version: [ '3.7', '3.8', '3.9' ]
os: [ ubuntu-20.04, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py_version }}
architecture: x64
- name: Install dependencies
run: |
pip install pytest
pip install pytest-xdist
- name: rdp5 tests
run: |
pip install --pre -e .[rdp5] -q
pip list
pytest tests/tests_unit -n auto --ignore tests/tests_unit/tests_diff_version/tests_v6
- name: rdp6 tests
run: |
pip install --pre -e .[rdp6] -q
pip list
pytest tests/tests_unit -n auto --ignore tests/tests_unit/tests_diff_version/tests_v5