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: Robot Framework Testes Web | |
on: push | |
jobs: | |
test: | |
name: Testes Robot Web | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: https://cristiancfe.github.io/RobotFramework-Web/report.html | |
steps: | |
- name: checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install robotframework | |
pip install robotframework-requests | |
pip install robotframework-faker | |
python3 -m pip install robotframework-seleniumlibrary | |
python -m pip install robotframework-seleniumlibrary | |
pip install --upgrade robotframework-seleniumlibrary | |
pip3 install --upgrade robotframework-seleniumlibrary | |
pip install setuptools | |
- name: Testes Robot Web | |
run: | | |
robot -d formulario Web/testes | |
- name: Arquive Robot Framework formulario | |
if: ${{always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Formulario-robot | |
path: ./formulario | |
- name: Setup Pages | |
uses: actions/configure-pages@v2 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: ./formulario/ | |
- name: Deploy to Github Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |