Skip to content

[Feature] add length of data dividing term to gradient, hessian (#47) #43

[Feature] add length of data dividing term to gradient, hessian (#47)

[Feature] add length of data dividing term to gradient, hessian (#47) #43

Workflow file for this run

name: Tests
on:
pull_request:
types: [opened, reopened, ready_for_review, review_requested]
push:
branches:
- main
jobs:
run-pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: poetry install --no-interaction --with dev
- name: Run tests
run: poetry run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=app tests/ | tee pytest-coverage.txt
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml