forked from silx-kit/jupyterhub_moss
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (43 loc) · 1.05 KB
/
lint-test.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Lint&Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout 🏷️
uses: actions/checkout@v3
- name: Set up Python 🐍
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies ⚙️
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Log Python environment ✏️
run: |
pip freeze
- name: black ◼️
run: black --check .
- name: flake8 ❄️
run: flake8 .
- name: mypy 🧐
run: mypy
- name: check-manifest 📰
run: check-manifest
- name: Install Node v16
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install configurable-http-proxy
run: |
npm install -g configurable-http-proxy
npm list
- name: pytest tests 👓
run: python -m pytest -v