Skip to content

Commit

Permalink
templates
Browse files Browse the repository at this point in the history
  • Loading branch information
m2f0 committed Jun 23, 2024
1 parent dc624a3 commit e21d00f
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Crie um relatório para nos ajudar a melhorar
title: "[BUG]"
labels: bug
assignees: ''

---

**Descreva o bug**
Uma descrição clara e concisa do que é o bug.

**Reproduzir**
Passos para reproduzir o comportamento:
1. Vá para '...'
2. Clique em '....'
3. Role para baixo até '....'
4. Veja o erro

**Comportamento Esperado**
Uma descrição clara e concisa do que você esperava que acontecesse.

**Screenshots**
Se aplicável, adicione screenshots para ajudar a explicar seu problema.

**Desktop (preencha as seguintes informações):**
- SO: [e.g. iOS]
- Navegador [e.g. chrome, safari]
- Versão [e.g. 22]

**Smartphone (preencha as seguintes informações):**
- Dispositivo: [e.g. iPhone6]
- SO: [e.g. iOS8.1]
- Navegador [e.g. stock browser, safari]
- Versão [e.g. 22]

**Contexto Adicional**
Adicione qualquer outro contexto sobre o problema aqui.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Sugira uma ideia para este projeto
title: ''
labels: enhancement
assignees: ''

---

**Sua solicitação de feature está relacionada a um problema? Por favor descreva.**
Uma descrição clara e concisa do que é o problema. Ex. Eu sempre fico frustrado quando [...]

**Descreva a solução que você gostaria**
Uma descrição clara e concisa do que você quer que aconteça.

**Descreva as alternativas que você considerou**
Uma descrição clara e concisa de qualquer solução ou feature alternativa que você considerou.

**Contexto Adicional**
Adicione qualquer outro contexto ou screenshots sobre a feature request aqui.
34 changes: 34 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## Descrição

Por favor, inclua um resumo das mudanças e a motivação por trás delas.

## Tipo de Mudança

- [ ] Bug fix (correção que corrige uma issue e não altera funcionalidades existentes)
- [ ] Nova feature (mudança que adiciona uma funcionalidade e não altera funcionalidades existentes)
- [ ] Breaking change (correção ou feature que causaria a quebra de funcionalidades existentes)
- [ ] Documentação

## Como isso foi testado?

Por favor, descreva os testes que você executou para verificar suas mudanças. Por favor, também inclua os detalhes de configuração do teste.

- [ ] Teste A
- [ ] Teste B

**Configuração de Teste**:
* Firmware version:
* Hardware:
* Toolchain:
* SDK:

## Checklist

- [ ] Meu código segue as diretrizes de estilo deste projeto
- [ ] Eu realizei uma auto-revisão do meu próprio código
- [ ] Eu comentei meu código, especialmente em áreas difíceis de entender
- [ ] Eu fiz as mudanças correspondentes na documentação
- [ ] Minhas mudanças não geram novos warnings
- [ ] Eu adicionei testes que provam que minha correção é eficaz ou que minha feature funciona
- [ ] Testes de unidade novos e existentes passam com minhas mudanças
- [ ] Quaisquer mudanças dependentes foram mescladas e publicadas nos módulos downstream
37 changes: 37 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Python application

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest

0 comments on commit e21d00f

Please sign in to comment.