Skip to content

Merge branch 'main' of github.com:jsell-rh/hyperloop #93

Merge branch 'main' of github.com:jsell-rh/hyperloop

Merge branch 'main' of github.com:jsell-rh/hyperloop #93

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-extras
- name: Lint
run: uv run ruff check .
- name: Format check
run: uv run ruff format --check .
- name: Type check
run: uv run pyright
- name: Test
run: uv run pytest --tb=short -q
gate:
# Single status check for branch protection rules
needs: [test]
runs-on: ubuntu-latest
if: always()
steps:
- name: All checks passed
run: |
if [ "${{ needs.test.result }}" != "success" ]; then
echo "Tests failed"
exit 1
fi