-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 895 Bytes
/
style.yml
File metadata and controls
37 lines (33 loc) · 895 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
35
36
37
name: nrm-style-checks
on:
push:
branches:
- master
pull_request:
jobs:
check-flake8-style:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: condaenv
miniconda-version: "latest"
python-version: 3.8
channels: conda-forge
channel-priority: flexible
auto-update-conda: true
- name: Style check
run: |
pip install flake8
flake8
check-license:
runs-on: ubuntu-latest
container: apache/skywalking-eyes
steps:
- uses: actions/checkout@v2
- run: /bin/license-eye -c .licenserc.yml -v debug header check