Add GitHub Actions CI workflow
This commit is contained in:
parent
2579ce9f18
commit
1ab7f5aad7
1 changed files with 21 additions and 0 deletions
21
.github/workflows/python-ci.yml
vendored
Normal file
21
.github/workflows/python-ci.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
name: Python CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
|
|
||||||
|
- name: Install flake8
|
||||||
|
run: pip install flake8
|
||||||
|
|
||||||
|
- name: Run flake8
|
||||||
|
run: flake8 .
|
||||||
Loading…
Add table
Add a link
Reference in a new issue