Skip to content

Commit 929c817

Browse files
authored
Copy lint from Azure Pipelines to GitHub Actions (#4058)
Copy lint from Azure Pipelines to GitHub Actions
2 parents cd880d6 + f6eb0f7 commit 929c817

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/lint.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Lint
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python: [3.7]
12+
13+
name: Python ${{ matrix.python }}
14+
15+
steps:
16+
- uses: actions/checkout@v1
17+
18+
- name: Set up Python ${{ matrix.python }}
19+
uses: actions/setup-python@v1
20+
with:
21+
python-version: ${{ matrix.python }}
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install --upgrade tox
27+
28+
- name: Lint
29+
run: tox -e lint

0 commit comments

Comments
 (0)