forked from openPMD/openPMD-api
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.01 KB
/
source.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
name: source
on: [push, pull_request]
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Non-ASCII Characters
run: .github/workflows/source/hasNonASCII
- name: TABs
run: .github/workflows/source/hasTabs
- name: End-of-Line whitespaces
run: .github/workflows/source/hasEOLwhiteSpace
- name: PEP8
run: |
python3 -m pip install -U flake8
python3 -m flake8 --exclude=thirdParty .
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: pyflakes
run: |
python3 -m pip install -U pyflakes
python3 -m pyflakes docs/ examples/ test/ setup.py
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: s-weigand/setup-conda@v1
with:
update-conda: true
conda-channels: conda-forge
- name: Install
run: conda install -c conda-forge doxygen
- name: Doxygen
run: .github/workflows/source/buildDoxygen