Skip to content

Add an 'ibm' extra package #107

Add an 'ibm' extra package

Add an 'ibm' extra package #107

Workflow file for this run

name: "on-pull-request"
on:
pull_request:
branches:
- master
paths:
- 'setup.py'
- 'lithops/**'
workflow_dispatch:
# this allows to run the workflow manually through the github dashboard
jobs:
localhost_tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Clone Lithops repository
uses: actions/checkout@v3
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Lithops
run: |
pip3 install -U .[tests]
- name: Run Lithops tests
run: |
cd lithops/tests
pytest -o log_cli=true --log-cli-level=DEBUG --backend localhost --storage localhost
python_linting:
runs-on: ubuntu-latest
steps:
- name: Clone Lithops repository
uses: actions/checkout@v3
- name: Install Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -U flake8
- name: Install Lithops
run: |
pip3 install -U .
- name: Lint with flake8
run: |
flake8 lithops --count --max-line-length=180 --statistics --ignore W605,W503