1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/bin/bash
set -e
# we want to run the pytest test suite, but we do not want it running
# from the main working directory (we want it to look for the
# installed package)
mkdir -p xxx
cp -a tests xxx/
cd xxx
# Until python3-commentjson is in the archive:
rm -rf tests/functional/cocoapods
# Test for all supported python3 versions so we find out if there are any
# issues with a new python3 version before it is the default version.
for py3vers in $(py3versions -s); do
echo "Testing with $py3vers:"
$py3vers -m pytest -v
done
|