File tree Expand file tree Collapse file tree 3 files changed +24
-31
lines changed Expand file tree Collapse file tree 3 files changed +24
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+ on : [push, pull_request]
3+
4+ jobs :
5+ test-new :
6+
7+ steps :
8+ - name : Checkout code
9+ uses : actions/checkout@v2
10+
11+ - uses : actions/setup-python@v1
12+ with :
13+ python-version : ' 3.x'
14+
15+ - name : Install requirements (PIP)
16+ run : pip3 install pytest sphinx
17+
18+ - name : Run test pytest
19+ run : python3 -m pytest
20+
21+ - name : Run doctest
22+ run : cd docs; make doctest
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def test_dictbuilder():
1717 print ("** Python structure without data flattening:\n " )
1818 print (pyrep )
1919 print ("\n ** Turning back to HSD:\n " )
20- print (hsd .dumps (pyrep ))
20+ print (hsd .dump_string (pyrep ))
2121
2222
2323def test_dictbuilder_flat ():
@@ -29,7 +29,7 @@ def test_dictbuilder_flat():
2929 print ("** Python structure with data flattening:\n " )
3030 print (pyrep )
3131 print ("\n ** Turning back to HSD:\n " )
32- print (hsd .dumps (pyrep ))
32+ print (hsd .dump_string (pyrep ))
3333
3434
3535if __name__ == '__main__' :
You can’t perform that action at this time.
0 commit comments