-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from engeldevelopment/crear-pipeline-ci
Configuración del pipeline ci
- Loading branch information
Showing
11 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Integración continua | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- '*.md' | ||
pull_request: | ||
paths-ignore: | ||
- '*.md' | ||
|
||
jobs: | ||
tests: | ||
name: Pruebas y Calidad del Código | ||
runs-on: ubuntu-18.04 | ||
container: | ||
image: python:3.7 | ||
env: | ||
DJANGO_SETTINGS_MODULE: config.settings.ci | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Instalandon dependencias | ||
run: pip install -r requirements/ci.txt | ||
|
||
- name: Corriendo pruebas y obteniendo el coverage | ||
run: make coverage | ||
|
||
- name: Pasando el linter a mi código | ||
run: make lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class CoreConfig(AppConfig): | ||
name = 'core' |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from django.test import TestCase | ||
|
||
|
||
class CharacterTest(TestCase): | ||
|
||
def test_value_to_true(self): | ||
self.assertTrue(True) |
Empty file.