fix: compatibilização com o SEI 4.1. Issues #60, #64 e #75. #56
Workflow file for this run
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
name: Testes da API | |
on: [push, pull_request] | |
env: # Or as an environment variable | |
NEWMAN_BASEURL: 'http://localhost:8000' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Pull Request branch | |
uses: actions/checkout@v3 | |
with: | |
repository: supergovbr/super | |
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT | |
path: super | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: super/src/sei/web/modulos/mod-wssei | |
- name: Run make test | |
run: | | |
cd super/src/sei/web/modulos/mod-wssei | |
make prerequisites-up; sed -e '/SEI_CHAVE_ACESSO/ s/^#*/#/' -i .env; sed -e '/SIP_CHAVE_ACESSO/ s/^#*/#/' -i .env | |
echo SEI_CHAVE_ACESSO=7babf8620a7056b96b13ad057eddf544e6450a62152bb6d7c5468d0f5ef546fb121e8dd2 >> .env | |
echo SIP_CHAVE_ACESSO=d27791b8128bb1c95c094b99261d1abc16bc6169ccd17011f356201d1648d69862a355a6 >> .env | |
make up; | |
make tests-api |