Remove **.py requirement (#1002)
* Remove **.py requirement * use paths-ignore * change python version to 3.7.14 * Rename pytorch > pygeoapi
This commit is contained in:
@@ -2,14 +2,12 @@ name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '*.py'
|
||||
- '!**.md'
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '*.py'
|
||||
paths-ignore:
|
||||
- '!**.md'
|
||||
release:
|
||||
types:
|
||||
@@ -22,9 +20,9 @@ jobs:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7.4
|
||||
python-version: 3.7.14
|
||||
architecture: x64
|
||||
- name: Checkout PyTorch
|
||||
- name: Checkout pygeoapi
|
||||
uses: actions/checkout@master
|
||||
- name: Install flake8
|
||||
run: pip install flake8
|
||||
@@ -33,4 +31,4 @@ jobs:
|
||||
with:
|
||||
checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user