Skip to content

Commit fb02c8f

Browse files
authored
Update django.yml
1 parent 538267d commit fb02c8f

1 file changed

Lines changed: 44 additions & 17 deletions

File tree

.github/workflows/django.yml

Lines changed: 44 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,57 @@
11
name: Django CI
22

3-
on:
4-
push:
5-
branches: "main"
6-
pull_request:
7-
branches: "main"
3+
2 months ago
4+
5+
Actualizar django.yml
6+
on: [push, pull_request]
7+
2 months ago
8+
9+
Create django.yml
810

911
jobs:
10-
build:
12+
2 months ago
1113

12-
runs-on: ubuntu-latest
13-
strategy:
14-
max-parallel: 4
15-
matrix:
16-
python-version: 3.7, 3.8, 3.9
14+
Actualizar django.yml
15+
test:
16+
2 months ago
1717

18+
Create django.yml
19+
runs-on: ubuntu-latest
1820
steps:
1921
- uses: actions/checkout@v4
20-
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v3
22+
2 months ago
23+
24+
Actualizar django.yml
25+
26+
- name: Set up Python
27+
uses: actions/setup-python@v4
28+
2 months ago
29+
30+
Create django.yml
2231
with:
23-
python-version: ${{ matrix.python-version }}
24-
- name: Install Dependencies
32+
2 months ago
33+
34+
Actualizar django.yml
35+
python-version: '3.10' # Versión moderna y soportada
36+
cache: 'pip'
37+
38+
- name: Install dependencies
39+
2 months ago
40+
41+
Create django.yml
2542
run: |
2643
python -m pip install --upgrade pip
2744
pip install -r requirements.txt
28-
- name: Run Tests
45+
2 months ago
46+
47+
Actualizar django.yml
48+
49+
- name: Run tests
50+
2 months ago
51+
52+
Create django.yml
2953
run: |
30-
python manage.py test
54+
2 months ago
55+
56+
Update django.yml
57+
python /manage.py test

0 commit comments

Comments
 (0)