Skip to content

Merge pull request #307 from n-kawauchi/update_copyright #77

Merge pull request #307 from n-kawauchi/update_copyright

Merge pull request #307 from n-kawauchi/update_copyright #77

name: Workflow for openrtm-aist-python static code analysis
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu_2004_pycodestyle, ubuntu_2004_pyflakes, ubuntu_2004_flake8, ubuntu_2004_bandit]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: run static code analysis
run: |
export OPENRTMPYTHON_IMAGE=openrtm-aist-python:${{matrix.os}}-$(date +%s)
docker build .. --file scripts/${{matrix.os}}/Dockerfile --tag $OPENRTMPYTHON_IMAGE
docker run $OPENRTMPYTHON_IMAGE