From b96cd33e701f696fef70d225862b4c861121a928 Mon Sep 17 00:00:00 2001 From: CSY-ModelCloud Date: Fri, 29 Nov 2024 18:02:42 +0800 Subject: [PATCH] Create unit_tests.yml (#37) --- .github/workflows/unit_tests.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/unit_tests.yml diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml new file mode 100644 index 0000000..954578a --- /dev/null +++ b/.github/workflows/unit_tests.yml @@ -0,0 +1,25 @@ +name: Unit tests + +on: + repository_dispatch: + workflow_dispatch: + +jobs: + build: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: 3.11 + cache: 'pip' + + - name: run test + run: | + python3 test.py