Update docs #154
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
| # This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
| name: Build Status | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths: | |
| - '**.py' | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - '**.py' | |
| jobs: | |
| build: | |
| # `macOS-latest` is arm64 (macos-14+). PyTables only ships macOS arm64 | |
| # wheels from 3.10.1 (Python 3.10+); Python 3.8/3.9 use older `tables` with | |
| # x86_64-only wheels, so route those to the Intel `macos-13` runner to avoid | |
| # a source build. Python 3.10+ runs on arm64. Ubuntu and Windows keep | |
| # `*-latest`. | |
| runs-on: ${{ (matrix.os == 'macOS' && matrix.python-minor-version < 10) && 'macos-13' || format('{0}-latest', matrix.os) }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-major-version: [3] | |
| python-minor-version: [8, 9, 10, 11, 12] | |
| os: [ubuntu, macOS, windows] | |
| env: | |
| python-version: ${{ format('{0}.{1}', matrix.python-major-version, matrix.python-minor-version) }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ env.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ env.python-version }} | |
| - name: Install uv and Nox | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install uv nox | |
| - name: Run tests using Nox | |
| # Nox creates the per-version venv and uses `uv sync --frozen` (single | |
| # uv.lock) to install the project and dependencies into it. | |
| run: | | |
| python -m nox -s tests-${{ env.python-version }} |