We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744d143 commit 61d1377Copy full SHA for 61d1377
.github/workflows/python-unit-tests.yml
@@ -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
29
30
+ python -m unittest discover -s tests/ -p 'test*.py'
.gitignore
@@ -14,3 +14,6 @@
wmi_client_wrapper.egg-info/
dist/
build/
+# python virtualenv
+venv/
0 commit comments