File tree Expand file tree Collapse file tree 4 files changed +35
-2
lines changed Expand file tree Collapse file tree 4 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Python Unit Tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' *'
7
+
8
+ jobs :
9
+ test :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout code
14
+ uses : actions/checkout@v2
15
+
16
+ - name : Set up Python
17
+ uses : actions/setup-python@v2
18
+ with :
19
+ python-version : 3.8
20
+
21
+ - name : Install dependencies
22
+ run : |
23
+ python -m venv venv
24
+ source venv/bin/activate
25
+ pip install -r requirements.txt
26
+
27
+ - name : Run tests
28
+ run : |
29
+ source venv/bin/activate
30
+ python -m unittest discover -s tests/ -p 'test*.py'
Original file line number Diff line number Diff line change 14
14
wmi_client_wrapper.egg-info /
15
15
dist /
16
16
build /
17
+
18
+ # python virtualenv
19
+ venv /
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ mock==2.0.0
5
5
sh == 1.12.14
6
6
7
7
# to assist with Py2 / Py3 compat
8
- future == 0.16.0
8
+ future == 0.18.3
Original file line number Diff line number Diff line change 65
65
install_requires = [
66
66
"mock==2.0.0" ,
67
67
"sh==1.12.14" ,
68
- "future==0.16.0 " ,
68
+ "future==0.18.3 " ,
69
69
],
70
70
# List additional groups of dependencies here (e.g. development
71
71
# dependencies). You can install these using the following syntax,
You can’t perform that action at this time.
0 commit comments