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 760450e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 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,15 @@ jobs:

bats:
runs-on: ubuntu-latest
container: ubuntu:24.04
steps:
- run: apt update && apt install -y git
- 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 bats

- uses: actions/setup-python@v5
with:
Expand All @@ -66,11 +69,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 760450e

Please sign in to comment.