浏览代码

Update pythonapp.yml

pull/2/head
Jérôme Deuchnord 6 年前
committed by GitHub
父节点
当前提交
a6f1adbf15
找不到此签名对应的密钥 GPG 密钥 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

正在加载...
取消
保存