File tree Expand file tree Collapse file tree 2 files changed +35
-13
lines changed Expand file tree Collapse file tree 2 files changed +35
-13
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : python-maxcube-api commit validation
4+
5+ on :
6+ - push
7+ - pull_request
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ python-version : [3.7, 3.8, 3.9]
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Set up Python ${{ matrix.python-version }}
20+ uses : actions/setup-python@v2
21+ with :
22+ python-version : ${{ matrix.python-version }}
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install coveralls
27+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
28+ - name : Pre-commit hooks
29+ uses :
pre-commit/[email protected] 30+ - name : Unit Test Coverage
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ run : |
34+ coverage run setup.py test
35+ coveralls --service=github
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments