Merge pull request #239 from th2-net/dev_1.3.1 #1282
Workflow file for this run
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: 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 |