[python][non-image]Save output.data with text content instead of response data #1119
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: Python Test | |
on: | |
pull_request: | |
branches: [main] | |
paths: | |
- "python/**/*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: "0" | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Build and Install Library into Package | |
run: | | |
pip install build && cd python && python -m build && pip install dist/*.whl | |
- name: Install Test dependencies | |
run: | | |
cd python && pip install -r requirements-dev.txt | |
- name: Run tests | |
run: | | |
cd python && pytest |