From a066ba06d05474b054a2c47ddfee09f4a9b3c57f Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Wed, 17 Jan 2024 15:41:11 +0800 Subject: feat(ci|test): enhance test and test commit --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yml (limited to '.github/workflows') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..8d90f73 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +on: + push: + workflow_dispatch: + +jobs: + test-api: + name: test commit + runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.9" + + - run: | + pwd + cd tests + python3 -m test-api.py \ No newline at end of file -- cgit v1.2.3-70-g09d2