Revise normalization algorithm to select smallest factor #272
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: checks | |
| on: [push, pull_request] | |
| jobs: | |
| precommit_hooks: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| cmd: | |
| - "check-added-large-files" | |
| - "trailing-whitespace" | |
| - "end-of-file-fixer" | |
| - "mixed-line-ending" | |
| - "update-json-def-files" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: ${{ matrix.cmd }} --all-files | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.13 | |
| - name: install dependencies | |
| run: python3 -m pip install -r .requirements.txt | |
| - name: generate schema | |
| working-directory: schema | |
| run: make all | |
| - name: attempt docs build | |
| working-directory: docs | |
| run: make html SPHINXOPTS="-W" |