Skip to content

Update CI/CD Workflows #733

Update CI/CD Workflows

Update CI/CD Workflows #733

Workflow file for this run

name: Bazel Tests
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
jobs:
BAZEL:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9']
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Run gtest
timeout-minutes: 40
run: bazel test --test_output=all --spawn_strategy=standalone --test_timeout=1500 //tests/cpp/...
# - name: Run SEALAPI tests
# timeout-minutes: 30
# run: bazel test --test_output=all --spawn_strategy=standalone --test_timeout=1500 --jobs 1 //tests/python/sealapi/...
# - name: Run TenSEAL tests
# timeout-minutes: 120
# run: bazel test --test_output=all --spawn_strategy=standalone --test_output=streamed --local_sigkill_grace_seconds=30 --test_timeout=4000 //tests/python/tenseal/...