We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3926522 commit bb01322Copy full SHA for bb01322
.github/workflows/testPython.yml
@@ -0,0 +1,27 @@
1
+name: Python Test
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: [ 3.6, 3.7, 3.8, 3.9 ]
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v2
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ - name: Install dependencies
22
+ run: pip install alibabacloud-tea coverage pytest
23
+ - name: Test with unittest
24
+ run: |
25
+ coverage run --source="./alibabcloud_credentials" -m pytest tests/
26
+ - name: CodeCov
27
+ run: bash <(curl -s https://codecov.io/bash) -cF python
0 commit comments