[golang]feat: support reader for sse response #21
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: | |
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 }} |