Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ipa-rwu committed Dec 14, 2023
1 parent 732bd5c commit 0371e8b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ros_model_parser
name: test_python_pkg

on: [push, pull_request]

Expand All @@ -18,9 +18,16 @@ jobs:
python-version: ${{ matrix.python-version_ubuntu-latest }}

- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel

- name: Install python pkgs
run: ./install.sh
shell: bash

- name: Test with pytest
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest pytest-cov
bash COVERAGE=true ./test.sh
lint:
name: pre-commit
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build_ros.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: test_as_ros_pkg

on: [push, pull_request]

Expand All @@ -7,8 +7,6 @@ jobs:
strategy:
matrix:
env:
- { ROS_DISTRO: melodic }
- { ROS_DISTRO: noetic }
- { ROS_DISTRO: humble }
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0371e8b

Please sign in to comment.