Skip to content
This repository was archived by the owner on Sep 29, 2021. It is now read-only.

Commit 55c2f11

Browse files
Kry9toNMoveAngel
authored andcommitted
squash: add CI github
1 parent 6f89ff6 commit 55c2f11

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/pythonapp.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CheckBug
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
max-parallel: 5
11+
matrix:
12+
python-version: [3.6, 3.7, 3.8]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v1
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: |
22+
sudo apt-get install libpq-dev
23+
python -m pip install --upgrade pip
24+
pip install -r requirements.txt
25+
pip install flake8 flake8-print flake8-quotes
26+
- name: Check for showstoppers
27+
run: |
28+
# stop the build if there are Python syntax errors
29+
flake8 . --count --select=E999 --show-source --statistics
30+
31+
shellcheck:
32+
33+
runs-on: ubuntu-latest
34+
35+
steps:
36+
- uses: actions/checkout@v1
37+
- name: Check for install script errors
38+
uses: ludeeus/[email protected]

0 commit comments

Comments
 (0)