aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
blob: cbd02c672686c1b3741e1ca583376b6c9b63190c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI

on:
  push:
    branches: [main]
  pull_request:

jobs:
  test:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
        python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
        include:
          - os: macos-latest
            python: "3.13"

    steps:
      - uses: actions/checkout@v4

      - uses: actions/setup-python@v5
        with:
          python-version: ${{ matrix.python }}

      # Sin dependencias a propósito: si algún día hace falta instalar algo
      # para correr los tests, es que el proyecto dejó de ser stdlib-only.
      - name: Tests
        run: python -m unittest discover -s tests -t . -v

      - name: Se instala y el comando arranca
        run: |
          pip install .
          claude-sesiones --version
          claude-sesiones --help