Repository navigation
fix(number): preserve digits in large decimal strings in intcomma #1227
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: Test | |
| on: [push, pull_request, workflow_dispatch] | |
| permissions: {} | |
| env: | |
| FORCE_COLOR: 1 | |
| PIP_DISABLE_PIP_VERSION_CHECK: 1 | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "pypy3.12" | |
| - "pypy3.11" | |
| - "3.15t" | |
| - "3.15" | |
| - "3.14t" | |
| - "3.14" | |
| - "3.13" | |
| - "3.12" | |
| - "3.11" | |
| os: [windows-latest, macos-latest, ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: true | |
| - name: Set PYTHON_GIL | |
| if: endsWith(matrix.python-version, 't') | |
| run: | | |
| echo "PYTHON_GIL=0" >> "$GITHUB_ENV" | |
| - name: Install Linux dependencies | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: | | |
| sudo apt install gettext | |
| - name: Install macOS dependencies | |
| if: startsWith(matrix.os, 'macos') | |
| run: | | |
| brew install gettext | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2 | |
| - name: Generate translation binaries | |
| run: | | |
| scripts/generate-translation-binaries.sh | |
| - name: Tox tests | |
| run: | | |
| uvx --python ${{ matrix.python-version }} --with tox-uv tox -e py | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 | |
| with: | |
| flags: ${{ matrix.os }} | |
| name: ${{ matrix.os }} Python ${{ matrix.python-version }} | |
| success: | |
| if: always() | |
| needs: test | |
| runs-on: ubuntu-latest | |
| name: Test successful | |
| steps: | |
| - name: Success | |
| env: | |
| TEST_RESULT: ${{ needs.test.result }} | |
| run: test "$TEST_RESULT" = "success" |