File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ pull_request :
5+ branches : ' *'
6+
7+ workflow_dispatch :
8+ inputs :
9+ branch :
10+ description : ' The branch, tag or SHA to release from'
11+ required : true
12+ default : ' master'
13+
14+ jobs :
15+ tests :
16+ runs-on : ${{ matrix.os }}
17+ strategy :
18+ matrix :
19+ python : [3.6, 3.7, 3.8, 3.9]
20+ os : [ubuntu-latest]
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v2
24+ with :
25+ ref : ${{ github.event.inputs.branch }}
26+ - name : Use Python ${{ matrix.python }}
27+ uses : actions/setup-python@v2
28+ with :
29+ python-version : ${{ matrix.python }}
30+
31+ - name : Install test dependencies
32+ run : python -m pip install pytest
33+
34+ - name : Install current version of the clamd package
35+ run : python -m pip install -e .
36+
37+ - name : Run unit tests
38+ run : pytest
You can’t perform that action at this time.
0 commit comments