feat: pass through error messages from backend when runs fail #687
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 build and test the Rust code in this repository. There are | |
| # separate workflows for testing the python portion of the code base. | |
| # | |
| # This file is *not* generated from automation and is manually maintained. | |
| # | |
| name: "[tower] Test python" | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install the project | |
| run: uv sync --locked --all-extras --dev | |
| - name: Check Python formatting with Black | |
| run: uv run --group dev black --check --diff . | |
| - name: Check types with mypy | |
| run: uv run --group dev mypy src/tower/__init__.py --no-error-summary | |
| - name: Run tests | |
| run: uv run pytest tests |