Skip to content

fix: fix HTTP calls with raw text input for the R client #3

fix: fix HTTP calls with raw text input for the R client

fix: fix HTTP calls with raw text input for the R client #3

name: build-python
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.11 ]
max-parallel: 4
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Build
working-directory: ./src/gen/python
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r test-requirements.txt
- name: Lint
working-directory: ./src/gen/python
run: |
pip install "flake8~=4.0.1"
flake8 . --count --select=E9,F63,F7,F82 --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test
working-directory: ./src/gen/python
run: |
pytest