Skip to content

chore: remove support for python 3.9 #163

chore: remove support for python 3.9

chore: remove support for python 3.9 #163

Workflow file for this run

# This workflow will run Robot Framework examples and perform static code analysis on robot code
name: Continuous integration
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest']
python-version: ['3.10', '3.11', '3.12']
node-version: [20]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U -r tests/requirements-${{ matrix.python-version }}.txt
webdrivermanager firefox chrome
- name: Init Browser
run:
rfbrowser init
if: matrix.python-version != 3.6
- name: Run Robocop
run:
robocop -r rules_by_id --configure return_status:quality_gate:W=-1 --exclude missing-doc-* --ignore section_99\* --ext-rules tests/robocop_rules.py src
if: always()
- name: Run Robot tests
run:
python -m robot --exclude pabot --include py${{ matrix.python-version }} --exclude casestudy --exclude no-ci-testing --outputdir recipe_tests src
if: always()
- name: Run Robot parallel tests
run:
pabot --testlevelsplit --processes 4 --command python -m robot --end-command --include pabotANDpy${{ matrix.python-version }} --exclude casestudy --exclude no-ci-testing --outputdir recipe_tests_pabot src
if: always()
- name: Save test results
uses: actions/upload-artifact@v4
with:
name: robot-tests-logs-${{ strategy.job-index }}
path: |
recipe_tests
recipe_tests_pabot
if: always()