making relaxed tolerance and relaxed exits options to qlaw object #88
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: pytest | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
node-version: 20 | |
- name: Install dependencies | |
run: | | |
pip install wheel pyqlaw pytest coverage genbadge[all] | |
- name: Test with pytest | |
run: | | |
coverage run -m pytest -v -s tests | |
- name: Generate Coverage Report | |
run: | | |
coverage report -m | |
coverage xml | |
coverage html | |
genbadge coverage -i coverage.xml |