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
|
image: "flowdalic/debian-testing-dev:1.12"
before_script:
- |
readarray TOOLS <<EOF
pylint
pyflakes
yapf
EOF
for tool in ${TOOLS[@]}; do
echo -n "$tool version: "
$tool --version
done
build:
script:
# Workaround issue "testing InRelease' changed its 'Codename' value from 'bullseye' to 'trixie'"
- find /etc/apt/sources.list* -type f -exec sed 's,testing,bullseye,' -i {} +
- apt-get update && apt-get install --yes --no-install-recommends -V python3-venv
- pip3 install --user --upgrade build
- make build-wheel
- pip3 install --user --upgrade hatchling
- python3 hatch_build.py generate # plain smoke test
- python3 hatch_build.py clean # plain smoke test
- python3 hatch_build.py tar # plain smoke test
test:
script:
- |
cd tests
touch cweb-latex/disable
touch graphicx-dotted-files/disable
touch pythontex/disable
./run.sh --debchroot *
lint:
script:
- pip3 install --user --upgrade hatchling
- make lint
|