File: run-pytest

package info (click to toggle)
python-resolvelib 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,504 kB
  • sloc: python: 2,278; javascript: 102; sh: 9; makefile: 3
file content (17 lines) | stat: -rwxr-xr-x 458 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

# 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