File tree Expand file tree Collapse file tree 3 files changed +99
-0
lines changed
Expand file tree Collapse file tree 3 files changed +99
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Continous integration
2+ on : [push]
3+ jobs :
4+ Run-tests :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v3
8+ - name : Set up Python 3.9
9+ uses : actions/setup-python@v4
10+ with :
11+ python-version : ' 3.9'
12+ env :
13+ AGENT_TOOLSDIRECTORY : /opt/hostedtoolcache
14+ - name : Install
15+ run : |
16+ pip install --upgrade pip
17+ pip install -r requirements.txt
18+ - name : Run tests
19+ run : |
20+ nose2 --with-coverage tests
Original file line number Diff line number Diff line change 269269 " if len(phrasedml.getLastError()) > 0:\n " ,
270270 " print(phrasedml.getLastError())"
271271 ]
272+ },
273+ {
274+ "cell_type" : " code" ,
275+ "execution_count" : 37 ,
276+ "id" : " 9a48ccc9-08f7-47bc-b89e-ac3e00453a7b" ,
277+ "metadata" : {},
278+ "outputs" : [
279+ {
280+ "data" : {
281+ "text/plain" : [
282+ " ['POINTER',\n " ,
283+ " '__builtins__',\n " ,
284+ " '__cached__',\n " ,
285+ " '__doc__',\n " ,
286+ " '__file__',\n " ,
287+ " '__libdir',\n " ,
288+ " '__loader__',\n " ,
289+ " '__name__',\n " ,
290+ " '__oldir',\n " ,
291+ " '__osname',\n " ,
292+ " '__package__',\n " ,
293+ " '__phrasedLib',\n " ,
294+ " '__sharedLib',\n " ,
295+ " '__spec__',\n " ,
296+ " '__thisfile',\n " ,
297+ " '__version__',\n " ,
298+ " 'addDotXMLToModelSources',\n " ,
299+ " 'c_bool',\n " ,
300+ " 'c_char_p',\n " ,
301+ " 'c_double',\n " ,
302+ " 'c_int',\n " ,
303+ " 'c_long',\n " ,
304+ " 'c_ulong',\n " ,
305+ " 'cdll',\n " ,
306+ " 'clearReferencedSBML',\n " ,
307+ " 'convertFile',\n " ,
308+ " 'convertString',\n " ,
309+ " 'freeAllPhrased',\n " ,
310+ " 'getLastError',\n " ,
311+ " 'getLastErrorLine',\n " ,
312+ " 'getLastPhraSEDML',\n " ,
313+ " 'getLastSEDML',\n " ,
314+ " 'getPhrasedWarnings',\n " ,
315+ " 'inspect',\n " ,
316+ " 'os',\n " ,
317+ " 'platform',\n " ,
318+ " 'setReferencedSBML',\n " ,
319+ " 'setWorkingDirectory',\n " ,
320+ " 'setWriteSEDMLTimestamp']"
321+ ]
322+ },
323+ "execution_count" : 37 ,
324+ "metadata" : {},
325+ "output_type" : " execute_result"
326+ }
327+ ],
328+ "source" : [
329+ " dir(phrasedml.phrasedml)"
330+ ]
272331 }
273332 ],
274333 "metadata" : {
Original file line number Diff line number Diff line change 1+ import os
2+ import time
3+ import numpy as np
4+ import unittest
5+
6+
7+ IGNORE_TEST = False
8+ IS_PLOT = False
9+
10+ #############################
11+ # Tests
12+ #############################
13+ class TestFunctions (unittest .TestCase ):
14+
15+ def testDummy (sefl ):
16+ pass
17+
18+
19+ if __name__ == '__main__' :
20+ unittest .main ()
You can’t perform that action at this time.
0 commit comments