-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Darko Lukic <[email protected]>
- Loading branch information
1 parent
ec2ffa6
commit 23d9f9a
Showing
12 changed files
with
106 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, labeled, unlabeled] | ||
|
||
env: | ||
WEBOTS_VERSION: 2021b | ||
WEBOTS_OFFSCREEN: 1 | ||
CI: 1 | ||
DEBIAN_FRONTEND: noninteractive | ||
QTWEBENGINE_DISABLE_SANDBOX: 1 | ||
|
||
jobs: | ||
ros2: | ||
name: Build and test ROS 2 packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Install ROS2 | ||
uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: foxy | ||
- name: Install Webots | ||
run: | | ||
sudo -E apt-get update | ||
sudo -E apt-get install -y wget dialog apt-utils psmisc | ||
wget "https://github.com/cyberbotics/webots/releases/download/R$WEBOTS_VERSION/webots_${WEBOTS_VERSION}_amd64.deb" | ||
sudo -E apt-get install -y "./webots_${WEBOTS_VERSION}_amd64.deb" xvfb | ||
- name: Build packages and run and tests | ||
uses: ros-tooling/[email protected] | ||
with: | ||
target-ros2-distro: foxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, labeled, unlabeled] | ||
|
||
jobs: | ||
linter: | ||
name: Check code using Ament linter | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
linter: [flake8, pep257, xmllint] | ||
package: [mep3_driver, mep3_simulation] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Install ROS2 | ||
uses: ros-tooling/[email protected] | ||
- name: Run ${{ matrix.linter }} linter for ${{ matrix.package }} | ||
uses: ros-tooling/[email protected] | ||
with: | ||
distribution: foxy | ||
linter: ${{ matrix.linter }} | ||
package-name: ${{ matrix.package }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
.vscode/ | ||
.idea/ | ||
build/ | ||
install/ | ||
log/ | ||
**.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters