Skip to content

Commit

Permalink
Remove github runner caching of pip
Browse files Browse the repository at this point in the history
  • Loading branch information
rkent committed Mar 25, 2024
1 parent 76abbd4 commit 7554c21
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand All @@ -12,21 +14,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
containers: ['ros-iron', 'ros-rolling']
container: ['ros:iron', 'ros:rolling']
container: ${{ matrix.container }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup python
uses: actions/setup-python@v5
with:
cache: 'pip'
- name: Install pip
run: apt update && apt install -y python3-pip

- name: Install pip dependencies
run: |
python -m pip install --upgrade --upgrade-strategy eager .[test]
python -m pip freeze
python3 -m pip install --upgrade --upgrade-strategy eager .[test]
python3 -m pip freeze
- name: Run tests
run: py.test --verbose test

0 comments on commit 7554c21

Please sign in to comment.