-
Notifications
You must be signed in to change notification settings - Fork 11
59 lines (51 loc) · 1.34 KB
/
Copy pathci-python.yml
File metadata and controls
59 lines (51 loc) · 1.34 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
48
49
50
51
52
53
54
55
56
57
58
59
name: Python CI
on:
push:
branches:
- python-port
paths:
- "iograph/**"
- "scripts/**"
- "requirements.txt"
- ".github/workflows/ci-python.yml"
- ".github/workflows/release-macos.yml"
- ".github/workflows/release-windows.yml"
pull_request:
branches:
- python-port
paths:
- "iograph/**"
- "scripts/**"
- "requirements.txt"
- ".github/workflows/ci-python.yml"
- ".github/workflows/release-macos.yml"
- ".github/workflows/release-windows.yml"
concurrency:
group: ci-python-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Linux system dependencies (PyQt6)
run: |
sudo apt-get update
sudo apt-get install -y \
libegl1 \
libgl1 \
libxkbcommon-x11-0
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Compile check
run: python -m compileall iograph
- name: Smoke regression check
run: python scripts/smoke_regression.py