From 0d3a3d9fae2571a69d6c81208221455c72e18a7a Mon Sep 17 00:00:00 2001 From: jlcoo Date: Fri, 6 Sep 2024 14:53:13 +0800 Subject: [PATCH] add ut check --- .github/workflows/checkut.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/checkut.yml diff --git a/.github/workflows/checkut.yml b/.github/workflows/checkut.yml new file mode 100644 index 0000000..045b520 --- /dev/null +++ b/.github/workflows/checkut.yml @@ -0,0 +1,22 @@ +name: Python package + +on: [push, pull_request, workflow_dispatch] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python: ["3.9", "3.10", "3.11"] + + steps: + - uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + - name: Install tox and any other packages + run: pip install tox + - name: Run tox + # Run tox using the version of Python in `PATH` + run: tox -e py