File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ python-version : ['3.7', '3.8', '3.9']
12
+
13
+ name : Python ${{ matrix.python-version }} CI
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - run : git fetch --prune --unshallow
18
+
19
+ - name : Setup python
20
+ uses : actions/setup-python@v2
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Install dependencies
24
+ run : |
25
+ python -m pip install pytest
26
+ - name : unit tests
27
+ run : |
28
+ disp=:99
29
+ screen=0
30
+ geom=640x480x24
31
+ exec Xvfb $disp -screen $screen $geom 2>/tmp/Xvfb.log &
32
+ export DISPLAY=:99
33
+ cd tests && pytest .
Original file line number Diff line number Diff line change 3
3
# PyJSONViewer
4
4
A JSON file data viewer using pure python
5
5
6
+ [ ![ CI] ( https://github.com/AtsushiSakai/PyJSONViewer/actions/workflows/CI.yml/badge.svg )] ( https://github.com/AtsushiSakai/PyJSONViewer/actions/workflows/CI.yml )
6
7
[ ![ Downloads] ( https://pepy.tech/badge/pyjsonviewer )] ( https://pepy.tech/project/pyjsonviewer )
7
8
[ ![ Downloads] ( https://pepy.tech/badge/pyjsonviewer/month )] ( https://pepy.tech/project/pyjsonviewer )
8
9
[ ![ Downloads] ( https://pepy.tech/badge/pyjsonviewer/week )] ( https://pepy.tech/project/pyjsonviewer )
@@ -39,7 +40,7 @@ Features:
39
40
40
41
# Requirements
41
42
42
- - Python 3.6.x or higher
43
+ - Python 3.7 or higher
43
44
44
45
# Download
45
46
You can’t perform that action at this time.
0 commit comments