Skip to content

Commit e122ef4

Browse files
committed
add debian container test
Signed-off-by: Zen <[email protected]>
1 parent 1862334 commit e122ef4

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

.github/workflows/ubuntu.yml renamed to .github/workflows/tests.yml

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,45 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
build:
16+
ubuntu:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
python-version: ['3.11', '3.12']
20+
python-version: ['3.11', '3.12', '3.13']
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Obtain dependency projects
25+
run: |
26+
git clone https://github.com/desultory/zenlib
27+
git clone https://github.com/desultory/pycpio
28+
- name: Set up Python ${{ matrix.python-version }}
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
- name: Install system deps
33+
run: |
34+
sudo apt update
35+
sudo apt install -y pax-utils qemu-system-x86
36+
- name: Install python deps
37+
run: |
38+
python -m venv venv
39+
venv/bin/pip install --upgrade pip
40+
venv/bin/pip install ./zenlib
41+
venv/bin/pip install ./pycpio
42+
venv/bin/pip install .
43+
- name: Test fullauto.toml
44+
run: |
45+
sudo venv/bin/ugrd -d
46+
sudo venv/bin/python -m unittest discover tests -v
47+
48+
debian:
49+
runs-on: ubuntu-latest
50+
container:
51+
image: debian
52+
strategy:
53+
matrix:
54+
python-version: ['3.11', '3.12', '3.13']
2155

2256
steps:
2357
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)