Skip to content

Commit 74f8de5

Browse files
committed
ci: test Python 3.13 on Debian
The docker setup is segfaulting with an unknown cause. Switch to something simpler and more stable.
1 parent 2af8f59 commit 74f8de5

File tree

2 files changed

+49
-19
lines changed

2 files changed

+49
-19
lines changed

.builds/py313-debian.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
image: debian/trixie
2+
packages:
3+
- build-essential
4+
- fonts-dejavu # makedepends for wheels
5+
- ghostscript # makedepends for wheels
6+
- libmariadb-dev # lib for wheels
7+
- libpango1.0-dev # makedepends for wheels
8+
- libpq-dev # makedepends for wheels
9+
- mariadb-server # server itself
10+
- postgresql
11+
- python3-dev
12+
- tox
13+
sources:
14+
- https://github.com/whyNotHugo/django-afip
15+
environment:
16+
CI: true
17+
tasks:
18+
- check-python: |
19+
python3 --version | grep 'Python 3.13'
20+
- postgres: |
21+
sudo service postgresql start
22+
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
23+
- mariadb: |
24+
sudo service mariadb start
25+
sudo mariadb -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'mysql'; FLUSH PRIVILEGES;"
26+
- tox-sqlite: |
27+
cd django-afip
28+
tox -e sqlite
29+
- tox-django42-mariadb: |
30+
cd django-afip
31+
tox -e django42-mysql
32+
- tox-django50-mariadb: |
33+
cd django-afip
34+
tox -e django50-mysql
35+
- tox-django42-postgres: |
36+
cd django-afip
37+
tox -e django42-postgres
38+
- tox-django50-postgres: |
39+
cd django-afip
40+
tox -e django50-postgres
41+
- tox-django51-postgres: |
42+
cd django-afip
43+
tox -e django51-postgres
44+
- lint: |
45+
cd django-afip
46+
tox -e mypy,ruff,vermin
47+
- tox-docs: |
48+
cd django-afip
49+
tox -e docs

.builds/py313-docker.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)