-
Notifications
You must be signed in to change notification settings - Fork 124
47 lines (42 loc) · 1.38 KB
/
Copy pathpython-tests.yml
File metadata and controls
47 lines (42 loc) · 1.38 KB
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
41
42
43
44
45
46
47
name: Python Tests
on:
push:
pull_request:
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: python -m pytest tests
objc-msgsend-smoke:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Make smoke script executable
run: chmod +x scripts/test_objc_msgsend_hook.sh scripts/test_objc_msgsend_hook_experimental.sh
- name: Run objc_msgSend smoke test
run: ./scripts/test_objc_msgsend_hook.sh
objc-msgsend-experimental:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Make experimental script executable
run: chmod +x scripts/test_objc_msgsend_hook.sh scripts/test_objc_msgsend_hook_experimental.sh
- name: Run objc_msgSend experimental test
run: ./scripts/test_objc_msgsend_hook_experimental.sh
batching-stress:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Make stress script executable
run: chmod +x scripts/test_batching_stress.sh
- name: Run batched-writer stress test (text + binary)
run: ./scripts/test_batching_stress.sh