File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ pylint
2+ setuptools
3+ wheel
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -xeo pipefail
4+
5+ python3 -m venv /venv
6+ set +x
7+ source /venv/bin/activate
8+ echo " VIRTUAL_ENV=$VIRTUAL_ENV "
9+ set -x
10+ pip3 install --upgrade pip
11+
12+ pip3 install -r build-requirements.txt
13+ pip3 install .
14+ python3 -m unittest -v
15+ pylint -E datapath setup.py docs.py
16+ python3 docs.py
17+
18+ python3 setup.py sdist
19+ python3 setup.py bdist_wheel
Original file line number Diff line number Diff line change 22
33set -xeo pipefail
44
5- if [[ -e " $( echo * venv* ) " ]]; then
6- source * venv* /bin/activate
7- else
8- echo ' no venv found'
9- exit 1
10- fi
5+ build_version=' 3.10'
6+ docker run -it --rm -v " $PWD :/repo" -w /repo " python:$build_version " ' /repo/build.sh'
117
12- python3 -m unittest -v
13- pylint -E datapath setup.py docs.py
14- python3 docs.py
15-
16- python3 setup.py sdist
17- python3 setup.py bdist_wheel
8+ for version in ' 3.10' ' 3.11' ' 3.12' ; do
9+ docker run -it --rm -v " $PWD /dist:/dist" -v " $PWD /test:/repo/test" -w /repo " python:$version " ' /repo/test/docker_test.sh'
10+ done
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -xeo pipefail
4+
5+ python3 -m venv /venv
6+ set +x
7+ source /venv/bin/activate
8+ echo " VIRTUAL_ENV=$VIRTUAL_ENV "
9+ set -x
10+
11+ pip3 install --upgrade pip
12+ pip3 install /dist/* .whl
13+ cd /repo
14+ python3 -m unittest -v
You can’t perform that action at this time.
0 commit comments