forked from facebookincubator/cinderx
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (29 loc) · 963 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (29 loc) · 963 Bytes
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
34
35
36
37
38
39
40
name: CinderX
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout CinderX
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.14.3
- name: Set up uv
uses: astral-sh/setup-uv@v7
- name: Create venv
run: uv venv --python 3.14.3
- name: Build CinderX
run: uv build --wheel --python 3.14.3
- name: Install CinderX
run: uv pip install dist/*.whl
- name: Check CinderX Imports
run: |
uv run python -c 'import cinderx ; print(cinderx.get_import_error()) ; assert cinderx.is_initialized()'
- name: Install Pytest
run: |
uv pip install pytest
- name: Run Basic JIT Tests
run: |
uv run pytest cinderx/PythonLib/test_cinderx/test_jit_{async_generators,count_calls,disable,exception,frame,generators,global_cache,perf_map,specialization,type_annotations}.py