File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Python package
2+
3+ on :
4+ push :
5+ branches : [ "master", "updates" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os : ["ubuntu-latest"]
17+ python-version : ["3.10"]
18+ # os: ["ubuntu-latest", "macos-latest"]
19+ # python-version: ["3.3", "3.8", "3.10", "3.12"]
20+
21+ steps :
22+ - uses : actions/checkout@v3
23+
24+ - name : Set up Python ${{ matrix.python-version }}
25+ uses : actions/setup-python@v3
26+ with :
27+ python-version : ${{ matrix.python-version }}
28+
29+ - name : Test doctests
30+ run : |
31+ python stream.py
32+
33+ - name : Install dependencies
34+ run : |
35+ python -m pip install --upgrade pip
36+ python -m pip install pytest
37+ python -m pip install .
38+
39+ - name : Test with pytest
40+ run : |
41+ pytest test/*.py
42+
43+ # - name: Upload coverage to Codecov
44+ # if: matrix.python-version == 3.12 && startsWith(matrix.os, 'ubuntu')
45+ # uses: codecov/codecov-action@v3
46+ # env:
47+ # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments