瀏覽代碼
Update pythonapp.yml
pull/2/head
Jérôme Deuchnord
6 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 4AEE18F83AFDEB23
共有
1 個文件被更改,包括
22 次插入 和
0 次删除
-
.github/workflows/pythonapp.yml
|
|
|
@@ -0,0 +1,22 @@ |
|
|
|
name: Python application |
|
|
|
|
|
|
|
on: [push] |
|
|
|
|
|
|
|
jobs: |
|
|
|
build: |
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- name: Set up Python 3.7 |
|
|
|
uses: actions/setup-python@v1 |
|
|
|
with: |
|
|
|
python-version: 3.7 |
|
|
|
- name: Install dependencies |
|
|
|
run: | |
|
|
|
python -m pip install --upgrade pip pipenv pylint pylintfileheader |
|
|
|
pipenv sync -d |
|
|
|
- name: Lint with flake8 |
|
|
|
run: | |
|
|
|
pylint *.py |