🆒(#80): Testes no Pipeline para integração #1
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: Unit Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- implementacao | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Instalando o Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | |
python -m pip install --upgrade pip | |
pip install selenium | |
pip install PyPDF2 | |
pip install unittest | |
- name: Run unittest | |
run: | |
pytest Camada_Dados/test_ExtrairJson.py | |
pytest Camada_Dados/test_Regex.py | |
pytest Camada_Dados/test_WebScraper.py |