瀏覽代碼

Update pythonapp.yml

pull/2/head
Jérôme Deuchnord 6 年之前
committed by GitHub
父節點
當前提交
a6f1adbf15
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. +22
    -0
      .github/workflows/pythonapp.yml

+ 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

Loading…
取消
儲存