-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 813 Bytes
/
ci.yml
File metadata and controls
34 lines (27 loc) · 813 Bytes
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: CI
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2.4.0
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Setup virtualenv
uses: syphar/restore-virtualenv@v1
id: lint-venv-cache
- name: Restore pip cache download
uses: syphar/restore-pip-download-cache@v1
if: steps.lint-venv-cache.outputs.cache-hit != 'true'
- name: Install requirements
if: steps.lint-venv-cache.outputs.cache-hit != 'true'
run: |
pip install -r requirements-dev.txt
- name: Execute multilint scripts
run: |
python3 scripts/multilint.py --skip-install --skip-venv-enter