Docker file cleanup #616
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
name: Check licenses of dependencies | |
on: [push, pull_request] | |
jobs: | |
licensed_check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Set up Python 2.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 2.7 | |
- uses: jonabc/setup-licensed@v1 | |
with: | |
version: '2.15.2' | |
- name: Install virtualenv | |
run: pip2 install virtualenv | |
- name: Init virtualenv and install dependencies | |
run: | | |
virtualenv --python=python2 venv-2.7 | |
. venv-2.7/bin/activate | |
pip install pip>=9.0.1 | |
pip install --upgrade flake8 'setuptools-scm==5.0.2' | |
pip install -r requirements.txt | |
- name: Check licenses status | |
run: | | |
licensed cache | |
licensed status |