@@ -17,14 +17,16 @@ jobs:
17
17
strategy :
18
18
fail-fast : false
19
19
matrix :
20
- python-version : [3.7, 3.8, 3.9]
20
+ python-version : [3.7, 3.8, 3.9, "3.10", "3.11" ]
21
21
22
22
steps :
23
- - uses : actions/checkout@v2
23
+ - uses : actions/checkout@v3
24
+
24
25
- name : Set up Python ${{ matrix.python-version }}
25
- uses : actions/setup-python@v2
26
+ uses : actions/setup-python@v4
26
27
with :
27
28
python-version : ${{ matrix.python-version }}
29
+
28
30
- name : Install dependencies
29
31
run : |
30
32
python -m venv development
@@ -33,12 +35,22 @@ jobs:
33
35
python -m pip install flake8 pylint pytest rdflib
34
36
python setup.py install
35
37
pillow2case --help
38
+
36
39
- name : Lint with flake8
37
40
run : |
38
41
. development/bin/activate
39
42
flake8 --count --select=E9,F63,F7,F82 --show-source --statistics */*.py *.py
40
43
flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics */*.py *.py
44
+
41
45
- name : Lint with pylint
42
46
run : |
43
47
. development/bin/activate
44
48
pylint --exit-zero *.py */*.py
49
+
50
+ # Run the CASE validation job to confirm all examples in pillow_output_examples are valid
51
+ - name : CASE Export Validation
52
+
53
+ with :
54
+ case-path : ./pillow_output_examples/
55
+ case-version : " case-1.1.0"
56
+ extension-filter : " json"
0 commit comments