-
Notifications
You must be signed in to change notification settings - Fork 428
47 lines (38 loc) · 1 KB
/
python.yml
File metadata and controls
47 lines (38 loc) · 1 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:
pull_request:
paths:
- "python/**"
- ".github/workflows/python.yml"
push:
branches: [main]
paths:
- "python/**"
- ".github/workflows/python.yml"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-24.04-arm
timeout-minutes: 30
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-engine/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