From 417149978a2267d4527f4676b1e42c3f84275805 Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Wed, 11 Dec 2024 22:06:20 -0800 Subject: [PATCH] Add CI for Runtime Test (#53) * Add CI for Runtime Test * Use container to run tests --- .github/workflows/runtime.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/runtime.yml diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml new file mode 100644 index 0000000..067c58a --- /dev/null +++ b/.github/workflows/runtime.yml @@ -0,0 +1,30 @@ +# Runtime tests + +name: Runtime + +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +jobs: + test: + name: Runtime + runs-on: ubuntu-latest + container: python:3.13-bookworm + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Display Python version + run: python -c "import sys; print(sys.version)" + + - name: Install CMake + run: apt-get update && apt-get install -y cmake + - name: Install Dependencies + run: pip install -e . + + - name: Test + run: cmake . && ctest -VV .