File tree Expand file tree Collapse file tree 1 file changed +0
-36
lines changed
Expand file tree Collapse file tree 1 file changed +0
-36
lines changed Original file line number Diff line number Diff line change 8888 env :
8989 REFERENCE_BRANCH : ${{ github['base_ref'] || github['head_ref'] }}
9090
91- check-py39 :
92- runs-on : ubuntu-latest
93- if : github.event_name != 'push' || github.repository == 'DIRACGrid/DIRAC'
94- timeout-minutes : 30
95- defaults :
96- # Activate the conda environment automatically in each step
97- run :
98- shell : bash -l {0}
99-
100- strategy :
101- fail-fast : False
102- matrix :
103- command :
104- # TODO These three tests fail on Python 3:
105- # * `test_BaseType_Unicode` and `test_nestedStructure` fail due to
106- # DISET's string and unicode types being poorly defined
107- - pytest --runslow -k 'not test_BaseType_Unicode and not test_nestedStructure'
108- - pylint -j 0 -E src/
109-
110- steps :
111- - uses : actions/checkout@v4
112- - name : Fail-fast for outdated pipelines
113- run : .github/workflows/fail-fast.sh
114- - name : fix python3.9
115- run : |
116- sed -i "s/python =3.11/python =3.9/g" environment.yml
117- - uses : conda-incubator/setup-miniconda@v3
118- with :
119- environment-file : environment.yml
120- - name : Run tests
121- run : |
122- # FIXME: The unit tests currently only work with editable installs
123- pip install -e .[server,testing]
124- ${{ matrix.command }}
125- env :
126- REFERENCE_BRANCH : ${{ github['base_ref'] || github['head_ref'] }}
12791
12892 pylint-py27 :
12993 name : Pylint for Python 2.7 in Pilot files
You can’t perform that action at this time.
0 commit comments