Skip to content

Commit

Permalink
robocop action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmateusribeiro committed Jun 2, 2024
1 parent c236822 commit 5e8bb6a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/robocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Robocop

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install robocop
- name: Analyzing the code with robocop
run: |
robocop
6 changes: 3 additions & 3 deletions resources/config/config.resource
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Library dotenv


*** Variables ***
${PROJECT_DIR} ${CURDIR}/../..
${PROJECT_DIR} ${CURDIR}/../..

${BROWSER} chrome
${HEROKU_HOMEPAGE} https://the-internet.herokuapp.com/
${HEROKU_TABLES_PAGE} https://the-internet.herokuapp.com/tables
${HEROKU_HOMEPAGE} https://the-internet.herokuapp.com/
${HEROKU_TABLES_PAGE} https://the-internet.herokuapp.com/tables

${API_HOST} https://reqres.in/
${REGISTRATION_ENDPOINT} api/register
Expand Down

0 comments on commit 5e8bb6a

Please sign in to comment.