update do projeto #6
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: Pipleline | |
on: [push, pull_request] | |
jobs: | |
test_robot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Copiar os arquivos do projeto | |
uses: actions/[email protected] | |
- name: Instalar o python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Instalar o NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Instalar as Bibliotecas do projeto | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U -r requirements.txt | |
sudo npm install @playwright/test | |
sudo npx playwright install-deps | |
rfbrowser init | |
- name: Execução dos testes | |
run: | | |
robot -d ./results -v HEADLESS:true tests |