Skip to content

Commit

Permalink
adicionado os testes unitarios ao pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Vini47 committed Sep 4, 2024
1 parent 6765f86 commit 5e45a7c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,18 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run HTTP server and verify
- name: Run Python unit Tests
run: |
echo "Running tests..."
python web/Bases\ web/jsons/_test_compras_automatico.py
python web/Bases\ web/jsons/_test_convenio_automatico.py
python web/Bases\ web/jsons/_test_credito_automatico.py
python web/Bases\ web/jsons/_test_licitacoes_automatico.py
python web/Bases\ web/jsons/_test_verbas_automatico.py
# The workflow will fail automatically if any test fails
# Any output from test failures will be visible in the logs

- name: Build and Run HTTP server and verify
run: |
python -m http.server 8000 &
# Give the server time to start
Expand Down

0 comments on commit 5e45a7c

Please sign in to comment.