From 76abbd4db4e3b65ba41e2c62045f0011a491344e Mon Sep 17 00:00:00 2001 From: "R. Kent James" Date: Mon, 25 Mar 2024 12:04:25 -0700 Subject: [PATCH] Use ros:iron and ros:rolling containers --- .github/workflows/test.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b2f525d..c461502 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,8 +2,6 @@ name: CI on: push: - branches: - - main pull_request: branches: - main @@ -11,27 +9,19 @@ on: jobs: unit_tests: name: Unit Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10'] + containers: ['ros-iron', 'ros-rolling'] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - architecture: x64 - - - uses: actions/cache@v2 + uses: actions/setup-python@v5 with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.cfg') }} - restore-keys: | - ${{ runner.os }}-pip- + cache: 'pip' - name: Install pip dependencies run: |