Skip to content

feat: pass shape to reset, transition and termination functions #49

feat: pass shape to reset, transition and termination functions

feat: pass shape to reset, transition and termination functions #49

Workflow file for this run

name: Tests and Linters 🧪
on: [ push, pull_request ]
jobs:
tests-and-linters:
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
python-version: ["3.8", "3.9"]
os: [ubuntu-latest]
steps:
- name: Checkout matrax 😎
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
- name: Install python dependencies 🔧
run: pip install .[dev]
- name: Run linters 🖌️
run: pre-commit run --all-files --verbose
- name: Run tests 🧪
run: pytest -n 2 --cov=matrax --cov-report=term-missing --junit-xml=test-results.xml -vv matrax
- name: Run coverage
run: |
coverage html --directory=coverage_html_report
coverage report --fail-under=0.97