-
Notifications
You must be signed in to change notification settings - Fork 431
38 lines (31 loc) · 852 Bytes
/
Copy pathpython.yml
File metadata and controls
38 lines (31 loc) · 852 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
name: Python Tests
on:
pull_request:
paths:
- "python/**"
- ".github/workflows/python.yml"
push:
branches: [main]
paths:
- "python/**"
- ".github/workflows/python.yml"
jobs:
test:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y cmake build-essential libcurl4-openssl-dev
- name: Build libcactus
run: bash cactus/build.sh
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install -e "python/[dev,serve]"
- name: Run tests
run: |
cd python
pytest tests/ -v \
--ignore=tests/test_model.py \
--ignore=tests/test_server_live.py