vet

Mirror of Vet, an AI code review tool
git clone git://git.laack.co/vet.git
Log | Files | Refs | README | LICENSE

test-unit.yml (501B)


      1 name: Test / Unit
      2 
      3 on:
      4   push:
      5     branches: [main]
      6   pull_request:
      7     branches: [main]
      8 
      9 jobs:
     10   unit:
     11     if: github.event.pull_request.draft == false
     12     runs-on: ubuntu-latest
     13 
     14     steps:
     15       - uses: actions/checkout@v4
     16         with:
     17           fetch-depth: 0
     18 
     19       - name: Install uv
     20         uses: astral-sh/setup-uv@v4
     21 
     22       - name: Set up Python
     23         run: uv python install 3.12
     24 
     25       - name: Install dependencies
     26         run: uv sync
     27 
     28       - name: Run tests
     29         run: uv run pytest