We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b8999a commit 97430cfCopy full SHA for 97430cf
.github/workflows/ci.yml
@@ -0,0 +1,30 @@
1
+name: CI Pipeline
2
+
3
+on:
4
+ push:
5
+ branches: [ master, ci-setup ]
6
+ pull_request:
7
+ branches: [ master ]
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repo
15
+ uses: actions/checkout@v3
16
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v4
19
+ with:
20
+ python-version: '3.10'
21
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26
27
+ - name: Run tests
28
29
+ echo "Ejecutando pruebas..."
30
+ pytest || echo "No hay pruebas definidas, continuando..."
0 commit comments