Skip to content

Commit

Permalink
Cleanup CI.
Browse files Browse the repository at this point in the history
This makes it match CI in https://github.com/ros-infrastructure/catkin-pkg.

Essentially removes Python 2.7 testing, removes Ubuntu 18.04,
removes the now-unnecessary constraints.txt, and updates
the versions of the actions we depend on.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Mar 8, 2024
1 parent aab3bf5 commit 6d1777f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,20 @@ jobs:
os: [ubuntu-latest, macos-latest]
python: ['3.7', '3.8', '3.9', '3.10']
include:
- os: ubuntu-18.04
python: '2.7'
- os: ubuntu-18.04
- os: ubuntu-20.04
python: '3.6'
name: rosdistro tests
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{matrix.python}}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}
- name: Install dependencies
run: |
python -m pip install -U -e .[test] pytest-cov -c constraints.txt
python -m pip install -U -e .[test] pytest-cov
- name: Run tests
run: |
python -m pytest test --cov
2 changes: 0 additions & 2 deletions constraints.txt

This file was deleted.

0 comments on commit 6d1777f

Please sign in to comment.