Skip to content

Refactor

Refactor #1197

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.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 --pre -e . -q
pip install pytest
pip install pytest-xdist
pip install th2-data-services-lwdp==2.0.3.0 # To test utils. Utils imports resolvers
- name: unit tests
run: |
pip list
pytest tests/tests_unit -n auto --ignore tests/tests_unit/test_dependencies/