Skip to content

Commit 8a0a8ff

Browse files
ChristianKuehnelldionne
authored andcommitted
added simple github action
1 parent 8e8d9c8 commit 8a0a8ff

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/flake8_docs.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Python Flake8, Docs
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.9
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install tox tox-gh-actions
21+
- name: Tox flake8
22+
run: tox -e flake8
23+
- name: Tox docs
24+
run: tox -e docs

0 commit comments

Comments
 (0)