File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test basic client
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+
7+ jobs :
8+ run-test :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v5
13+ - name : Set up Python
14+ uses : actions/setup-python@v4
15+ with :
16+ python-version : " 3.11"
17+ - name : Install dependencies
18+ run : |
19+ python -m pip install --upgrade pip
20+ pip install -r requirements.txt
21+ - name : Run tests
22+ run : |
23+ cd py-kms; timeout 30 python3 pykms_Server.py -F STDOUT -s ./pykms_database.db &
24+ sleep 5
25+ python3 pykms_Client.py -F STDOUT # fresh client
26+ python3 pykms_Client.py -F STDOUT -c 174f5409-0624-4ce3-b209-adde1091956b # (maybe) existing client
27+ python3 pykms_Client.py -F STDOUT -c 174f5409-0624-4ce3-b209-adde1091956b # now-for-sure existing client
You can’t perform that action at this time.
0 commit comments