Skip to content

Patch up python-v2 #156

Patch up python-v2

Patch up python-v2 #156

Workflow file for this run

name: "[v4-client-py] Lint, Test"
on: # yamllint disable-line rule:truthy
pull_request:
paths:
- 'v4-client-py-v2/**'
push:
paths:
- 'v4-client-py-v2/**'
branches:
- main
- "release/*"
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./v4-client-py-v2
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Dependencies
run: poetry install
- name: Lint
run: flake8
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./v4-client-py-v2
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Dependencies
run: poetry install
- name: Run pytest
run: pytest