Skip to content

Commit

Permalink
ci: switch to containers
Browse files Browse the repository at this point in the history
tss_pytss refused to install under weird circumstances. Move ci to
containers to improve reproducibility.
  • Loading branch information
Johannes Holland committed Aug 29, 2024
1 parent a30cb9a commit c1e15ca
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ on: [push]
jobs:
pytest:
runs-on: ubuntu-latest
container: ubuntu:24.04
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt install -y libpcap-dev libtss2-dev
run: apt update && apt install -y libpcap-dev libtss2-dev gcc

- uses: actions/setup-python@v5
with:
Expand All @@ -35,13 +36,14 @@ jobs:

bats:
runs-on: ubuntu-latest
container: ubuntu:24.04
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'

- name: Install dependencies
run: sudo apt install -y libpcap-dev bats
run: apt update && apt install -y libpcap-dev libtss2-dev gcc

- uses: actions/setup-python@v5
with:
Expand All @@ -66,11 +68,12 @@ jobs:

linters:
runs-on: ubuntu-latest
container: ubuntu:24.04
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt install -y libpcap-dev
run: apt update && apt install -y libpcap-dev libtss2-dev gcc

- uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit c1e15ca

Please sign in to comment.