-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sergio Sanchez
committed
Oct 8, 2020
1 parent
b282fd1
commit a4aa023
Showing
8 changed files
with
149 additions
and
90 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,4 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [chekos, tacosdedatos] | ||
patreon: tacosdedatos |
This file was deleted.
Oops, something went wrong.
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,25 @@ | ||
--- | ||
name: ❓ Es pregunta | ||
about: Pregunta sobre este proyecto 🎓 | ||
title: '' | ||
labels: "es pregunta" | ||
assignees: | ||
--- | ||
|
||
## Lista | ||
|
||
<!-- Marque con una `x` todas las casillas de verificación que correspondan (así `[x]`) --> | ||
|
||
- [ ] Ya revise los [`issues`](https://github.com/tacosdedatos/tacosdedatos-utils/issues?q=is%3Aissue) del proyecto. | ||
|
||
## ❓Pregunta | ||
|
||
<!-- Cual es tu pregunta --> | ||
|
||
¿Cómo puedo [...]? | ||
|
||
¿Es posible hacer [...]? | ||
|
||
## 📎 Contexto adicional | ||
|
||
<!-- Agregue cualquier otro contexto o capturas de pantalla sobre la solicitud de función aquí. --> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
--- | ||
name: 🐛 Reporta un bug | ||
about: Algo no esta funcionando 🔧 | ||
title: '' | ||
labels: bug | ||
assignees: | ||
--- | ||
|
||
## 🐛 Reporta un bug | ||
|
||
<!-- Una descripción clara y concisa de lo que es el error. --> | ||
|
||
## 🔬 Como reproducirlo | ||
|
||
Pasos para reproducir el comportamiento: | ||
|
||
1. ... | ||
|
||
### Código | ||
|
||
<!-- Si ayuda, una muestra del código para reproducir el error (lo más mínima posible plis) --> | ||
|
||
### Entorno | ||
|
||
* Sistema Operativo: [e.g. Linux / Windows / macOS] | ||
* Versión de python, (la puedes obtener ejecutando el siguiente código desde tu terminal): | ||
|
||
```bash | ||
python --version | ||
``` | ||
|
||
### Capturas de pantalla | ||
|
||
<!-- Si ayuda, agrega capturas de pantalla mostrando el error. --> | ||
|
||
## 📈 Comportamiento esperado | ||
|
||
<!-- Una descripción clara y concisa de lo que esperaba que sucediera. --> | ||
|
||
## 📎 Contexto adicional | ||
|
||
<!-- Agregue cualquier otro contexto sobre el problema aquí. --> |
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,23 @@ | ||
--- | ||
name: 🚀 Solicitud de función | ||
about: Sugiere una idea para este proyecto 🏖 | ||
title: '' | ||
labels: propuesta | ||
assignees: | ||
--- | ||
|
||
## 🚀 Solicitud de función | ||
|
||
<!-- Una descripción clara y concisa de la propuesta.--> | ||
|
||
## 🔈 Motivación | ||
|
||
<!-- Describa la motivación de esta propuesta. --> | ||
|
||
## 🛰 Alternativas | ||
|
||
<!-- Una descripción clara y concisa de cualquier solución o característica alternativa que haya considerado. --> | ||
|
||
## 📎 Contexto adicional | ||
|
||
<!-- Agregue cualquier otro contexto o capturas de pantalla sobre la solicitud de función aquí. --> |
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,55 @@ | ||
name: Publish package to PyPI | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install poetry | ||
run: make download-poetry | ||
|
||
- name: Set up cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: .venv | ||
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }} | ||
- name: Install dependencies | ||
run: | | ||
source "$HOME/.poetry/env" | ||
poetry config virtualenvs.in-project true | ||
poetry install | ||
- name: Run safety checks | ||
run: | | ||
source "$HOME/.poetry/env" | ||
STRICT=1 make check-safety | ||
- name: Run style checks | ||
run: | | ||
source "$HOME/.poetry/env" | ||
STRICT=1 make check-style | ||
- name: Run tests | ||
run: | | ||
source "$HOME/.poetry/env" | ||
make test | ||
- name: Publish to PyPI | ||
run: | | ||
make download-poetry | ||
source "$HOME/.poetry/env" | ||
poetry config virtualenvs.in-project true | ||
poetry publish --build --username ${{ secrets.PYPI_USERNAME }} --password ${{ secrets.PYPI_PASSWORD }} |