Skip to content

Commit

Permalink
Cache Python deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Mar 6, 2024
1 parent 0be3c49 commit 07fe740
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/actions/quic-interop-runner/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,28 @@ inputs:
runs:
using: "composite"
steps:
- name: Checkout quic-interop/quic-interop-runner repository
uses: actions/checkout@v4
with:
repository: 'quic-interop/quic-interop-runner'
path: 'quic-interop-runner'

- name: Enable IPv6 support
run: sudo modprobe ip6table_filter
shell: bash

- name: Install dependencies
run: |
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt-get update
sudo apt-get install -y wireshark tshark jq
shell: bash

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Enable IPv6 support
run: sudo modprobe ip6table_filter
shell: bash

- name: Checkout quic-interop/quic-interop-runner repository
uses: actions/checkout@v2
with:
repository: 'quic-interop/quic-interop-runner'
path: 'quic-interop-runner'
cache: 'pip'
cache-dependency-path: 'quic-interop-runner/requirements.txt'

- name: Install Python packages
run: |
Expand All @@ -60,9 +62,6 @@ runs:
pip install -r requirements.txt
shell: bash

- run: docker image ls
shell: bash

- name: Run tests
id: test-run
run: |
Expand Down

0 comments on commit 07fe740

Please sign in to comment.