fix table rendering in exercise solutions (#78) #176
  
    
      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
    
  
  
    
  | # Copyright (c) Sebastian Raschka under Apache License 2.0 (see LICENSE.txt) | |
| # Source for "Build a Reasoning Model (From Scratch)": https://mng.bz/lZ5B | |
| # Code repository: https://github.com/rasbt/reasoning-from-scratch | |
| name: Code tests Linux | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - '**/*.py' | |
| - '**/*.ipynb' | |
| - '**/*.yaml' | |
| - '**/*.yml' | |
| - '**/*.sh' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - '**/*.py' | |
| - '**/*.ipynb' | |
| - '**/*.yaml' | |
| - '**/*.yml' | |
| - '**/*.sh' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| uv-tests: | |
| name: Code tests Linux | |
| runs-on: ubuntu-latest | |
| env: | |
| SKIP_EXPENSIVE: "1" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install uv and dependencies | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| uv sync --group dev | |
| - name: Run tests | |
| run: uv run pytest tests |