File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 run : pip install pre-commit
1616 - name : Run pre-commit
1717 run : pre-commit run --all-files --show-diff-on-failure
18-
19- pyLint :
20- runs-on : ubuntu-latest
21- if : github.event_name != 'push' || github.repository == 'DIRACGrid/WebAppDIRAC'
22- defaults :
23- # Activate the conda environment automatically in each step
24- run :
25- shell : bash -l {0}
26-
27- steps :
28- - uses : actions/checkout@v5
29- - uses : actions/checkout@v5
30- with :
31- repository : DIRACGrid/DIRAC
32- path : .DIRAC
33- ref : integration
34-
35- - name : Get DIRAC
36- run : |
37- [ ! -d "DIRAC" ] && cp -r .DIRAC/src/DIRAC DIRAC
38-
39- - name : Prepare environment with Micromamba
40- uses : mamba-org/setup-micromamba@v2
41- with :
42- environment-file : .DIRAC/environment.yml
43-
44- - name : Run tests
45- run : pylint -E src/WebAppDIRAC
You can’t perform that action at this time.
0 commit comments