Skip to content

Commit 5710633

Browse files
authored
Release of version 2026.02.0 (#203)
Release of version 2026.02.0
2 parents b571162 + 8f330bb commit 5710633

58 files changed

Lines changed: 2665 additions & 1912 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main, develop]
8+
9+
jobs:
10+
lint:
11+
name: Lint & Format Check
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup Pixi
17+
uses: prefix-dev/setup-pixi@v0.8.1
18+
with:
19+
pixi-version: v0.61.0
20+
cache: false
21+
22+
- name: Run linter
23+
run: pixi run lint
24+
25+
- name: Check formatting
26+
run: pixi run format-check
27+
28+
typecheck:
29+
name: Type Check
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
34+
- name: Setup Pixi
35+
uses: prefix-dev/setup-pixi@v0.8.1
36+
with:
37+
pixi-version: v0.61.0
38+
cache: false
39+
40+
- name: Run type checker
41+
run: pixi run typecheck
42+
43+
test:
44+
name: Test Python ${{ matrix.python-version }}
45+
runs-on: ubuntu-latest
46+
strategy:
47+
fail-fast: false
48+
matrix:
49+
python-version: ["py310", "py311", "py312", "py313", "py314"]
50+
51+
steps:
52+
- uses: actions/checkout@v4
53+
54+
- name: Setup Pixi
55+
uses: prefix-dev/setup-pixi@v0.8.1
56+
with:
57+
pixi-version: v0.61.0
58+
cache: false
59+
environments: ${{ matrix.python-version }}
60+
61+
- name: Run tests
62+
run: pixi run -e ${{ matrix.python-version }} test
63+
64+
- name: Run field bus tests
65+
run: pixi run -e ${{ matrix.python-version }} test-field-bus
66+
67+
test-coverage:
68+
name: Test with Coverage
69+
runs-on: ubuntu-latest
70+
steps:
71+
- uses: actions/checkout@v4
72+
73+
- name: Setup Pixi
74+
uses: prefix-dev/setup-pixi@v0.8.1
75+
with:
76+
pixi-version: v0.61.0
77+
cache: false
78+
79+
- name: Run tests with coverage
80+
run: pixi run test-cov
81+
82+
- name: Upload coverage reports
83+
uses: codecov/codecov-action@v4
84+
with:
85+
files: ./coverage.xml
86+
fail_ci_if_error: false
87+
env:
88+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
89+
90+
build:
91+
name: Build Packages
92+
runs-on: ubuntu-latest
93+
needs: [lint, typecheck, test]
94+
steps:
95+
- uses: actions/checkout@v4
96+
97+
- name: Setup Pixi
98+
uses: prefix-dev/setup-pixi@v0.8.1
99+
with:
100+
pixi-version: v0.61.0
101+
cache: false
102+
103+
- name: Build packages
104+
run: pixi run build

0 commit comments

Comments
 (0)