-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 889 Bytes
/
python-pdm.yml
File metadata and controls
42 lines (34 loc) · 889 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
39
40
41
42
name: CI Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
install_lint_and_format:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Python PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pdm install --dev
- name: Run Format
run: |
pdm run format
- name: Run Linter
run: |
pdm run lint
# Runtime tests require E3/DC hardware... Therefore disabled
#- name: Run Tests
# run: |
# pdm run tests