Skip to content

Commit 4e0f983

Browse files
committed
build: fix python version on debian build
1 parent 6b7de02 commit 4e0f983

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/packaging.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
needs:
3737
- test
3838
steps:
39+
- name: Set up Python 3.12
40+
uses: actions/setup-python@v5
41+
with:
42+
python-version: 3.12
43+
3944
- name: Get cASO repo
4045
uses: actions/checkout@v3
4146
with:
@@ -129,6 +134,11 @@ jobs:
129134
- build-sdist
130135
- test
131136
steps:
137+
- name: Set up Python 3.12
138+
uses: actions/setup-python@v5
139+
with:
140+
python-version: 3.12
141+
132142
- name: Get cASO repo
133143
uses: actions/checkout@v3
134144
with:

packaging/debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ export PYBUILD_NAME=caso
55

66
%:
77
dh $@ --with python3 --buildsystem=pybuild
8+
9+
override_dh_auto_test:
10+
tox -eflake8,bandit

0 commit comments

Comments
 (0)