Skip to content

Widened dependencies to solve install issues #73

Widened dependencies to solve install issues

Widened dependencies to solve install issues #73

Workflow file for this run

name: ci.tests
on: [pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
name: Python ${{ matrix.python }}
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Setup python ${{ matrix.python }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python }}
- name: Update pip
run: pip install --upgrade pip
- name: Install poetry
uses: snok/install-poetry@v1
with:
version: 1.3.2
virtualenvs-create: true
- name: Install setuptools
run: poetry run pip install setuptools
- name: Install dependencies
run: poetry install --no-interaction
- name: Run tests and generate coverage report
run: |
poetry run pytest tests/ --ignore=tests/datafiles --cov=./ --cov-report=xml
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
slug: quant-aq/py-smps
flags: unittests
name: codecov-umbrella