43 lines
885 B
YAML
43 lines
885 B
YAML
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
|