Skip to content

Commit b244c0a

Browse files
Johannes Hollandjoholl
authored andcommitted
ci: switch to containers
tss_pytss refused to install under weird circumstances. Move ci to containers to improve reproducibility.
1 parent bba4912 commit b244c0a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ on: [push]
44
jobs:
55
pytest:
66
runs-on: ubuntu-latest
7+
container: ubuntu:24.04
78
steps:
89
- uses: actions/checkout@v3
910

1011
- name: Install dependencies
11-
run: sudo apt install -y libpcap-dev libtss2-dev
12+
run: apt update && apt install -y libpcap-dev libtss2-dev gcc
1213

1314
- uses: actions/setup-python@v5
1415
with:
@@ -35,13 +36,15 @@ jobs:
3536

3637
bats:
3738
runs-on: ubuntu-latest
39+
container: ubuntu:24.04
3840
steps:
41+
- run: apt update && apt install -y git
3942
- uses: actions/checkout@v3
4043
with:
4144
submodules: 'true'
4245

4346
- name: Install dependencies
44-
run: sudo apt install -y libpcap-dev bats
47+
run: apt update && apt install -y libpcap-dev libtss2-dev gcc bats xxd
4548

4649
- uses: actions/setup-python@v5
4750
with:
@@ -66,11 +69,12 @@ jobs:
6669

6770
linters:
6871
runs-on: ubuntu-latest
72+
container: ubuntu:24.04
6973
steps:
7074
- uses: actions/checkout@v3
7175

7276
- name: Install dependencies
73-
run: sudo apt install -y libpcap-dev
77+
run: apt update && apt install -y libpcap-dev libtss2-dev gcc
7478

7579
- uses: actions/setup-python@v5
7680
with:

0 commit comments

Comments
 (0)