We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b622f6 commit a21e078Copy full SHA for a21e078
1 file changed
.github/ci.yml
@@ -0,0 +1,34 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # Ejecuta pruebas al hacer push en la rama 'main'
7
8
+jobs:
9
+ ruff:
10
+ runs-on: ubuntu-latest
11
12
+ strategy:
13
+ matrix:
14
+ python-version: ['3.13'] # Puedes cambiar las versiones según necesites
15
16
+ steps:
17
+ - name: Check out repository code
18
+ uses: actions/checkout@v4
19
20
+ - name: Setup Python ${{ matrix.python-version }}
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: ${{ matrix.python-version }} # Configura la versión de Python desde la matriz
24
25
+ - name: Install Ruff
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install ruff
29
30
+ - name: Run Ruff
31
+ run: ruff check .
32
33
+ - name: Display Python version
34
+ run: python --version
0 commit comments