File: linux_test.sh

package info (click to toggle)
lightyears 1.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,804 kB
  • sloc: python: 5,532; sh: 39; makefile: 6
file content (17 lines) | stat: -rwxr-xr-x 342 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 -xe

export PYTHON=python3

rm -rf test-env

$PYTHON -m venv test-env
source test-env/bin/activate

# Test with old Python 3.6 and old Pygame 1.9.6
# No mypy support here

$PYTHON -m pip install pygame==1.9.6
$PYTHON -m pip install pytest==6.2.2
$PYTHON -m pip install pytest-cov==2.11.1
$PYTHON tests/run_all_tests.py --no-mypy