-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 1.4 KB
/
Copy pathci.yml
File metadata and controls
52 lines (44 loc) · 1.4 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
name: CI
on:
push:
pull_request:
permissions:
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
PIP_DISABLE_PIP_VERSION_CHECK: "1"
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install test dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e . pytest
- name: Compile package, tests, examples, and tools
run: python -m compileall -q src tests examples tools
- name: Run release-critical tests
run: |
python -m pytest \
tests/test_export_import.py \
tests/test_api_signature.py \
tests/test_genesis_causal_mechanism_hardening.py \
tests/test_genesis_causal_mechanism_runtime_wiring_integrity.py \
tests/test_genesis_integration_public_api_unification.py \
tests/test_genesis_integration_runtime_wiring.py \
tests/release \
tests/genesis_gates \
--disable-plugin-autoload