Skip to content

Commit 4367081

Browse files
authored
Merge pull request #2 from yotamc-ms/master
2 parents 59d404d + 61d1377 commit 4367081

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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'

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@
1414
wmi_client_wrapper.egg-info/
1515
dist/
1616
build/
17+
18+
# python virtualenv
19+
venv/

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ mock==2.0.0
55
sh==1.12.14
66

77
# to assist with Py2 / Py3 compat
8-
future==0.16.0
8+
future==0.18.3

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
install_requires=[
6666
"mock==2.0.0",
6767
"sh==1.12.14",
68-
"future==0.16.0",
68+
"future==0.18.3",
6969
],
7070
# List additional groups of dependencies here (e.g. development
7171
# dependencies). You can install these using the following syntax,

0 commit comments

Comments
 (0)