.github/forkflows/config.yml: add ROS-O test #454
Workflow file for this run
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
# generated by `./generate_action_config.py noetic` | |
# jsk_travis | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: check_python2 | |
container: ubuntu:20.04 | |
steps: | |
- name: Install latest git to download .git directory in actions/checkout@v2 ( use sudo for ros-ubuntu ) | |
run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git | |
- name: Chcekout | |
uses: actions/checkout@v2 | |
- name: Check Python2 | |
run: | | |
apt update -q && apt install -y -q python2 | |
python2 -m compileall . |