mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-27 02:54:23 +01:00
28 lines
489 B
YAML
28 lines
489 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install UV
|
|
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
|
- name: Source Cargo Environment
|
|
run: source $HOME/.cargo/env
|
|
|
|
- name: Ruff
|
|
run: |
|
|
uvx ruff check
|
|
uvx ruff format --check
|
|
|
|
- name: Run tests
|
|
run: |
|
|
uv run pytest tests -m 'not integration'
|