File tree Expand file tree Collapse file tree 2 files changed +32
-16
lines changed Expand file tree Collapse file tree 2 files changed +32
-16
lines changed Original file line number Diff line number Diff line change 1+ name : Build & Test
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ jobs :
8+ build-and-test :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ python-version :
13+ - " 3.7"
14+ - " 3.8"
15+ - " 3.9"
16+ - " 3.10"
17+ - " 3.11"
18+ steps :
19+ - name : Check out code
20+ uses : actions/checkout@v2
21+ - name : Set up Python ${{ matrix.python-version }}
22+ uses : actions/setup-python@v2
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+ - name : Build package
26+ run : python setup.py build
27+ - name : Install package
28+ run : python setup.py install
29+ - name : Install coveralls
30+ run : sudo pip install coveralls
31+ - name : Run tests
32+ run : sudo PATH=$PATH coverage run setup.py test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments