-
-
Notifications
You must be signed in to change notification settings - Fork 157
33 lines (30 loc) · 1.22 KB
/
bazel_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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/...