File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "name" : " Receptor Perf Testing" ,
3- "description" : " Performance testing of Receptor." ,
2+ "name" : " Receptor Testing" ,
3+ "description" : " Unit + Perf tests for Receptor." ,
44 "iconName" : " python" ,
55 "categories" : [" Python" ]
66}
Original file line number Diff line number Diff line change 1- name : Receptor Perf Testing
1+ name : Receptor Testing
22
33on : [push, pull_request]
44
55jobs :
66 build :
7-
7+ name : Performance Tests
88 runs-on : ubuntu-latest
99
1010 steps :
3939 sleep 10
4040 python ./test/perf/node_utils.py ping ./test/perf/topology-tree.yaml --count 100 --validate 0.1
4141 kill `pidof python`
42- rm -Rf /tmp/receptor
42+ rm -Rf /tmp/receptor
43+ unit :
44+ name : Unit Tests
45+ runs-on : ubuntu-latest
46+
47+ steps :
48+ - uses : actions/checkout@v1
49+ - name : Set up Python 3.7
50+ uses : actions/setup-python@v1
51+ with :
52+ python-version : 3.7
53+ - name : Install dependencies
54+ run : |
55+ python -m pip install --upgrade pip
56+ pip install python-dateutil pytest pytest-asyncio
57+ pip install .
58+ - name : pytest unit tests
59+ run : |
60+ pytest
You can’t perform that action at this time.
0 commit comments