feat: ajustes no módulo para instalação no SEI v5 #64
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 | |
ref: 5.0.0-rc1 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: super/sei/web/modulos/mod-wssei | |
- name: Run make test | |
run: | | |
cd super/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 |