Skip to content

ci: run an example code on CI as a quick functionality check (#720) #57

ci: run an example code on CI as a quick functionality check (#720)

ci: run an example code on CI as a quick functionality check (#720) #57

Workflow file for this run

name: Python
on:
workflow_dispatch:
push:
paths:
- 'finder/python/**'
branches: [ main ]
pull_request:
paths:
- 'finder/python/**'
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint pytest Appium-Python-Client
- name: Analyzing the code with pylint
run: pylint tests/ appium_flutter_finder/
working-directory: finder/python
- name: Run tests
run: pytest tests/**
working-directory: finder/python