Release 0.3 (#26) #152
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
name: Lint | |
on: [push] | |
jobs: | |
pylint: | |
runs-on: ubuntu-latest | |
name: PyLint | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Setup Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: sudo apt-get install libcairo2-dev gcc python3-dev libgirepository1.0-dev libostree-dev fuse-overlayfs libcap-dev autoconf && python -m pip install -r requirements.txt && python -m pip install pylint | |
- name: pylint | |
run: pylint --rcfile pylint.toml src/maps | |
flake8-lint: | |
runs-on: ubuntu-latest | |
name: Flake8 | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- name: flake8 Lint | |
uses: py-actions/flake8@v2 | |
with: | |
path: src/maps | |
ignore: "E402" | |
max-line-length: "100" |