-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (33 loc) · 856 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "CI"
on:
pull_request:
branches:
- "*"
push:
branches:
- "main"
- "master"
jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: "Set up Python 3.7"
uses: "actions/setup-python@v1"
with:
python-version: "3.7"
- name: "Lint extension"
run: |
pip install flake8
flake8 . --ignore=E501
- name: "Install dependencies"
run: |
pip install Flask==1.1.2 jinja2==2.11.3 itsdangerous==1.1.0 \
markupsafe==1.1.1 werkzeug==1.0.1 SQLAlchemy==1.3.18 tabulate==0.8.7
pip install -e .
- name: "Ensure pg-extras and child commands are accessible"
run: |
cd tests/example_app
flask pg-extras
env:
FLASK_APP: "example.app"