diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..cbd02c6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,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 |