-
Notifications
You must be signed in to change notification settings - Fork 229
/
.gitlab-ci.yml
42 lines (39 loc) · 885 Bytes
/
.gitlab-ci.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
Python 3:
script:
- py_version=3
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
- export EXTRA_INSTALL="numpy"
- export REQUIREMENTS_TXT=requirements.dev.txt
- ". ./build-and-test-py-project.sh"
tags:
- python3
- linux
except:
- tags
artifacts:
reports:
junit: test/pytest.xml
ruff:
script:
- pipx install ruff
- ruff check
tags:
- docker-runner
except:
- tags
Documentation:
script:
- EXTRA_INSTALL="numpy mako"
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/build-docs.sh
- ". ./build-docs.sh"
tags:
- python3
Pylint:
script: |
export PY_EXE=python3
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
. ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME"
tags:
- python3
except:
- tags