File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,25 @@ jobs:
1212 set -e
1313 apt-get update
1414 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3-dev python3-pip
15- pip3 install numpy unittest2
15+ pip3 install numpy
1616 mkdir -p /build /install
1717 mkdir -p /source/vxl /source/pybind11 /source/pyvxl
18- git clone https://github.com/vxl/vxl.git /source/vxl
19- git clone https://github.com/pybind/pybind11.git /source/pybind11
18+
19+ - run :
20+ name : Checkout VXL & pybind11
21+ command : |
22+
23+ # clone vxl, optionally checkout specific version, report
24+ VXL_DIR="/source/vxl"
25+ git clone -b "${VXL_VERSION:-master}" \
26+ https://github.com/vxl/vxl.git "${VXL_DIR}"
27+ echo "git describe vxl = $(git -C "${VXL_DIR}" describe --tags HEAD --always)"
28+
29+ # clone pybind11, optionally checkout specific version, report
30+ PYBIND11_DIR="/source/pybind11"
31+ git clone -b "${PYBIND11_VERSION:-master}" \
32+ https://github.com/pybind/pybind11.git "${PYBIND11_DIR}"
33+ echo "git describe pybind11 = $(git -C "${PYBIND11_DIR}" describe --tags HEAD --always)"
2034
2135 - checkout :
2236 path : /source/pyvxl
4155 - run :
4256 name : test
4357 working_directory : /source/pyvxl
44- command : unit2 discover -v test
58+ command : python3 -m unittest discover -v test
4559
4660
4761workflows :
You can’t perform that action at this time.
0 commit comments