We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13fd355 commit 910dce4Copy full SHA for 910dce4
1 file changed
.github/workflows/unittest.yml
@@ -0,0 +1,26 @@
1
+name: Unit test
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ unit_test:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ os: [ubuntu-latest, macos-latest, windows-latest]
11
+ python-version: [3.6, 3.7, 3.8, 3.9]
12
13
+ env:
14
+ IP_GEOLOCATION_API_KEY: ${{ secrets.API_KEY }}
15
16
+ steps:
17
+ - uses: actions/checkout@v2
18
19
+ - name: Install dependencies, and python_core module
20
+ run: |
21
+ pip3 install -r requirements.txt
22
+ python setup.py install --user
23
24
+ - name: Run test
25
26
+ python3 -m unittest tests/test_python_ip_geolocation.py
0 commit comments