mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-12-19 18:06:21 +00:00
Optimize states (#256)
* optimization states for AC, DC and IDLE now similar probab. Also AC states taken from config. Maybe a single config option for AC and E-Auto States is sensefull. * Ruff * test_class_optimize: Update testdata * Write pdf and json to test/testdata/new.... so it can be analyzed manually or just copied as new expected result. * workflow: Upload pytest optimization result artifacts (pdf, json) --------- Co-authored-by: Andreas <drbacke@gmx.de>
This commit is contained in:
committed by
GitHub
parent
a5e637ab4c
commit
79ecf71353
6
.github/workflows/pytest.yml
vendored
6
.github/workflows/pytest.yml
vendored
@@ -27,3 +27,9 @@ jobs:
|
||||
run: |
|
||||
pip install -e .
|
||||
python -m pytest --full-run -vs --cov src --cov-report term-missing
|
||||
|
||||
- name: Upload test artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: optimize-results
|
||||
path: tests/testdata/new_optimize_result*
|
||||
|
||||
Reference in New Issue
Block a user