Repository navigation
Fix DC charge rate calculation for export freeze #5095
Workflow file for this run
This file contains hidden or 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: code-quality | |
| on: | |
| pull_request: | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.x | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - uses: pre-commit/action@v3.0.0 | |
| - uses: pre-commit-ci/lite-action@v1.1.0 | |
| if: always() | |
| - name: Run unit tests (quick mode) | |
| run: | | |
| cd coverage | |
| python3 ../apps/predbat/unit_test.py --quick |