Skip to content

[golang]feat: support reader for sse response #18

[golang]feat: support reader for sse response

[golang]feat: support reader for sse response #18

Workflow file for this run

name: Python Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
shell: bash
working-directory: python
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install alibabacloud-tea coverage pytest
- name: Test with unittest
run: |
coverage run --source="./alibabacloud_tea_util" -m pytest tests/test_*
- name: Upload code coverage report
uses: codecov/codecov-action@v4
with:
flags: python # optional
token: ${{ secrets.CODECOV_TOKEN }}