Skip to content

Commit 5712294

Browse files
committed
Added lint
1 parent c44ca5f commit 5712294

2 files changed

Lines changed: 28 additions & 9 deletions

File tree

.github/workflows/integration-tests.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ on:
66
paths-ignore:
77
- php/sqlcommenter-php/packages/sqlcommenter-laravel/**
88
- php/sqlcommenter-php/samples/sqlcommenter-laravel/**
9-
- python/sqlcommenter-python/**
109
pull_request:
1110
paths-ignore:
1211
- php/sqlcommenter-php/packages/sqlcommenter-laravel/**
1312
- php/sqlcommenter-php/samples/sqlcommenter-laravel/**
14-
- python/sqlcommenter-python/**
1513

1614
jobs:
1715
integrationtests:
Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: Python Packages Test
22

33
on:
44
push:
5-
branches:
6-
- master
7-
paths:
8-
- python/sqlcommenter-python/**
9-
pull_request:
10-
paths:
11-
- python/sqlcommenter-python/**
5+
# branches:
6+
# - master
7+
# paths:
8+
# - python/sqlcommenter-python/**
9+
# pull_request:
10+
# paths:
11+
# - python/sqlcommenter-python/**
1212

1313
jobs:
1414
unittests:
@@ -37,3 +37,24 @@ jobs:
3737
- name: run tox
3838
run: tox -e '${{ matrix.python-version }}-{django21,django22,django30,django31,django32,psycopg2,flask,generic,sqlalchemy}'
3939
working-directory: ./python/sqlcommenter-python
40+
41+
misc:
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
tox-environment: [ "lint" ]
46+
name: ${{ matrix.tox-environment }}
47+
runs-on: ubuntu-20.04
48+
steps:
49+
- name: Checkout Contrib Repo @ SHA - ${{ github.sha }}
50+
uses: actions/checkout@v2
51+
- name: Set up Python 3.9
52+
uses: actions/setup-python@v2
53+
with:
54+
python-version: 3.9
55+
- name: Install tox
56+
run: pip install -U tox
57+
- name: run tox
58+
run: tox -e flake8
59+
working-directory: ./python/sqlcommenter-python
60+

0 commit comments

Comments
 (0)