[Standalone] Show completed tasks on lithops job list #35
Workflow file for this run
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: "on-pull-request" | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'lithops/**' | |
workflow_dispatch: | |
# this allows to run the workflow manually through the github dashboard | |
jobs: | |
localhost_tests: | |
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 Lithops | |
run: | | |
pip3 install -U . | |
- name: Run Lithops tests | |
run: | | |
lithops test -b localhost -s localhost -d | |
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 |