Repository navigation
109 lines (101 loc) · 2.7 KB
/
Copy pathon_pull_request.yaml
File metadata and controls
109 lines (101 loc) · 2.7 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
name: Unit and Functional Tests
permissions:
contents: read
on:
pull_request:
env:
IN_GITHUB_ACTION: 1
# A list of available runners is available on
# https://docs.github.com/de/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners
jobs:
ubuntu:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-26.04, ubuntu-22.04-arm, ubuntu-24.04-arm, ubuntu-26.04-arm]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
uses: actions/checkout@v6
with:
submodules: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y lsb-release make binutils
sudo apt-get install -y python3-dev python3-venv
sudo apt-get install git git-lfs
- name: Check Style
run: |
make
- name: Tests
run: |
make tests
alpine:
strategy:
matrix:
os: [alpine3.20]
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v6
with:
submodules: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y lsb-release make binutils
sudo apt-get install -y python3-dev python3-venv
sudo apt-get install git git-lfs
- name: Check Style
run: |
make check-style.venv.${{ matrix.os }}
- name: Tests
run: |
make tests.venv.${{ matrix.os }}
windows-2022:
runs-on: windows-2022
steps:
- name: Check out repository code
uses: actions/checkout@v6
with:
submodules: true
# Note: Keep python version in sync with pip-deps!
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: '3.11.9'
- name: Install dependencies
uses: crazy-max/ghaction-chocolatey@v4
with:
args: install -y make
- name: Refresh Environment
shell: cmd
run: |
refreshenv
- name: Check Style
shell: cmd
run: |
C:\ProgramData\chocolatey\bin\make
- name: Tests
shell: cmd
run: |
C:\ProgramData\chocolatey\bin\make tests
macos:
strategy:
matrix:
os: [macos-26, macos-26-intel]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
uses: actions/checkout@v6
with:
submodules: true
- name: Install dependencies
run: |
brew install make
- name: Check Style
run: |
make
- name: Tests
run: |
make tests