-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (55 loc) · 1.61 KB
/
panda_gazebo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Runs tests after a pull request is merged.
name: Panda Gazebo
on:
push:
branches:
- noetic
tags-ignore:
- v*.*.*
jobs:
markdown-lint: # Lints the markdown code.
name: runner / remark-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check markdown code quality using remark-lint
uses: reviewdog/action-remark-lint@v5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-check
level: warning
black: # Check python code format.
name: runner / black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-black@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-check
level: warning
flake8: # Lints python code.
name: runner / flake8
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: "pip"
cache-dependency-path: |
**/requirements.txt
**/requirements/dev_requirements.txt
- name: Install the panda_gazebo package with its dependencies
run: |
pip install -r panda_gazebo/requirements/dev_requirements.txt
- name: flake8 Lint
uses: reviewdog/action-flake8@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-check
level: warning