-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (34 loc) · 1 KB
/
tests.yaml
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
name: tests
on:
push:
branches:
- main
jobs:
pylint-score:
runs-on: ubuntu-latest
steps:
- name: Check out to repo
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Scores decp_qualite module with pylint. Fails under 8.0.
run: pylint ./decp_qualite/ --disable missing-module-docstring,import-error,fixme --fail-under=8.0 --max-line-length=120
pipfile-lock-check:
runs-on: ubuntu-latest
steps:
- name: Check out to repo
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Make sure the packages are properly locked in Pipfile.lock
run: |
python -m pip install --upgrade pipenv
pipenv install --deploy