aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-01-17 16:29:09 +0800
committer简律纯 <i@jyunko.cn>2024-01-17 16:29:09 +0800
commitbf445b19e830acce98d6e57068df43dcee5fbd2d (patch)
treed34e03fd2959417c644c010e18259d2955d6831e /.github/workflows
parent15ed1d1fd6e2f26193d5e27b46bc337bf876ffe8 (diff)
downloadipm-bf445b19e830acce98d6e57068df43dcee5fbd2d.tar.gz
ipm-bf445b19e830acce98d6e57068df43dcee5fbd2d.zip
chore(ci): add section
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8d90f73..f1648eb 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -17,7 +17,14 @@ jobs:
with:
python-version: "3.9"
- - run: |
- pwd
- cd tests
- python3 -m test-api.py \ No newline at end of file
+ - name: set up pdm
+ run: pip install pdm
+
+ - name: install test deps
+ run: |
+ pdm install -dG test
+
+ - name: test api
+ run: |
+ cd test
+ python -m test-api.py \ No newline at end of file