File tree Expand file tree Collapse file tree 2 files changed +63
-46
lines changed Expand file tree Collapse file tree 2 files changed +63
-46
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Partition Manager CI
2+
3+ on : [push]
4+
5+ jobs :
6+
7+ lint :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Set up Python 3.9
13+ uses : actions/setup-python@v2
14+ with :
15+ python-version : 3.9
16+
17+ - name : Install PyLint
18+ run : |
19+ python -m pip install --upgrade pip
20+ pip install "pylint==2.6.0"
21+
22+ - name : Install Black
23+ run : |
24+ pip install "black==19.3b0"
25+
26+ - name : Install Flake8
27+ run : |
28+ pip install "flake8==3.8.4"
29+
30+ - name : Install Partition Manager
31+ run : |
32+ pip install --editable ".[pymysql]"
33+
34+ - name : Analysing the code with pylint
35+ run : |
36+ python -m pylint -E partitionmanager
37+
38+ - name : Checking format with Black
39+ run : |
40+ python -m black --check .
41+
42+ - name : Checking format with Flake8
43+ run : |
44+ python -m flake8
45+
46+ test :
47+ runs-on : ubuntu-latest
48+
49+ steps :
50+ - uses : actions/checkout@v2
51+ - name : Set up Python 3.9
52+ uses : actions/setup-python@v2
53+ with :
54+ python-version : 3.9
55+ - name : Install Partition Manager
56+ run : |
57+ pip install --editable ".[pymysql]"
58+ - name : Install PyTest
59+ run : |
60+ pip install pytest
61+ - name : Run PyTest
62+ run : |
63+ pytest --junitxml=test-results/junit.xml
You can’t perform that action at this time.
0 commit comments