From bf445b19e830acce98d6e57068df43dcee5fbd2d Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Wed, 17 Jan 2024 16:29:09 +0800 Subject: chore(ci): add section --- .github/workflows/test.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to '.github') 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 -- cgit v1.2.3-70-g09d2