-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (34 loc) · 1.06 KB
/
plots.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
name: Plotting tools
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy matplotlib pylint
- name: Analysing the code with pylint
run: |
echo 'pylint sources/plot/library.py'
pylint sources/plot/library.py
echo 'pylint sources/plot/plot_energy.py'
pylint sources/plot/plot_energies.py
echo 'pylint sources/plot/plot_hydro1d.py'
pylint sources/plot/plot_hydro1d.py
echo 'pylint sources/plot/plot_hydro2d.py'
pylint sources/plot/plot_hydro2d.py
echo 'pylint sources/plot/plot_fe.py'
pylint sources/plot/plot_fe.py
echo 'pylint sources/plot/plot_logfe.py'
pylint sources/plot/plot_logfe.py