Skip to content

F3/fix/hev exceeds max soc bug #596

F3/fix/hev exceeds max soc bug

F3/fix/hev exceeds max soc bug #596

Workflow file for this run

name: tests
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ['3.8', '3.9', '3.10']
env:
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust unit tests
run: |
cargo test
- name: Python unit tests
run: |
pip install -e ".[dev]" && pytest -v python/fastsim/tests/