-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adicionar estrutura e testes unitários iniciais (#762)
* feat: modificar a estrutura atual para funcionamento de bibliotecas externas do PHP no projeto * feat: alterar url_base API para versões sei4, sei41, sei_super e Remover arquivo de ConfiguracaoModPEN.exemplo * feat: alterar o métodos da classe expedirProcedimento para funcionamento correto com REST * feat: alterar o métodos da classe PENAgendamento para funcionamento correto com REST * feat: alterar estrutura da classe ProcessoEletronicoINT para funcionamento correto com REST * refactor: substituir todas as rotas SOAP para REST * refactor: métodos de integração para recebimento de arquivos e geração de recibos * fix: mudar estrutura para se adaptar a mudança na API * chore: correções phpcs * fix: alterar estutura removendo parametro em obsoleto --dev * fix: alterar WSDL para REST no verificador de instalação e corrigir erro de merge * fix:: corrigir atualização no banco para proceessos recebidos * chore: adicionar camiinho absoluto para chamada do vendor dentro da class * feat: alterar tipagem de variável em todos os métodos que consome a API * fix: alterar nome historico no recebimento para teste funcional * fix: correções testes automatizados * fix: Adicionar correção documento cancelado, versões SEI: 4.1.1 e 4.1.2 * chore: aumentar timeout e remover número mágico * fix: correção para campo de unidade em restrição de envio (#704) Campo de id da unidade do Tramita deve receber null quando o mapeamento for apenas para estruturas * inclusão do schema - tbls (#520) Co-authored-by: PauloNehme <[email protected]> * chore: usa versão 10.0 das imagens * fix: script instalacao 3.7.0 para postgresql (#706) * chore: versão compatível com 4.1.3 e 4.1.4 * feat: adicionar estrutrura para testes unitários e testes iniciais * feat: merge com testes automatizados e correção phpcs --------- Co-authored-by: Glaydson Rodrigues <[email protected]> Co-authored-by: Mauro Costa <[email protected]> Co-authored-by: PauloNehme <[email protected]> Co-authored-by: PauloNehme <[email protected]> Co-authored-by: Carlos Vieira <[email protected]> Co-authored-by: Marcus Dias <[email protected]>
- Loading branch information
1 parent
d0c1c92
commit 2df37af
Showing
88 changed files
with
7,384 additions
and
982 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,42 @@ | ||
on: | ||
push: | ||
paths: | ||
- "**.php" | ||
- "phpunit.xml" | ||
- ".github/workflows/coveralls.yml" | ||
pull_request: | ||
paths: | ||
- "**.php" | ||
- "phpunit.xml" | ||
- ".github/workflows/coveralls.yml" | ||
|
||
name: Test Coveralls | ||
env: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Fetch Pull Request branch | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: pengovbr/sei | ||
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT | ||
path: sei | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
path: sei/src/sei/web/modulos/mod-sei-pen | ||
|
||
- name: make test-unit | ||
run: | | ||
cd sei/src/sei/web/modulos/mod-sei-pen | ||
make test-unit | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@v2 | ||
with: | ||
file: sei/src/sei/web/modulos/mod-sei-pen/tests_super/unitario/cobertura.xml |
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ src/config/supervisor.ini | |
|
||
.vscode | ||
|
||
cobertura.xml | ||
.env | ||
*.pem | ||
*.cache | ||
|
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
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
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
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
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
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
Oops, something went wrong.