fix(conversion): keep word boundaries across buffered text flushes #281
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| firmware: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.12" | |
| - name: Cache PlatformIO | |
| uses: actions/cache@v6 | |
| with: | |
| path: | | |
| ~/.cache/pip | |
| ~/.platformio/.cache | |
| ~/.platformio/packages | |
| ~/.platformio/platforms | |
| key: ${{ runner.os }}-pio-tests-${{ hashFiles('platformio.ini', 'boards/**', 'tools/pio_*.py') }} | |
| restore-keys: ${{ runner.os }}-pio- | |
| - name: Install PlatformIO | |
| run: pip install platformio freetype-py fonttools uharfbuzz lz4 | |
| - name: Check generated localization | |
| run: | | |
| python localization/generate_localization.py --check | |
| python localization/generate_locale_packs.py --check | |
| python -m unittest localization/test_locale_packs.py | |
| python -m unittest discover -s fonts -p "test_*.py" | |
| - name: Run native firmware tests | |
| run: pio test -e native_test |