Mike Frysinger | 4997d1c | 2019-12-01 22:47:21 -0500 | [diff] [blame] | 1 | # Copyright 2019 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # https://tox.readthedocs.io/ |
| 16 | |
| 17 | [tox] |
Mike Frysinger | 4b32581 | 2020-03-13 05:35:00 -0400 | [diff] [blame] | 18 | envlist = py36, py37, py38 |
Mike Frysinger | 4997d1c | 2019-12-01 22:47:21 -0500 | [diff] [blame] | 19 | |
Mike Frysinger | b57e633 | 2020-02-15 13:49:10 -0500 | [diff] [blame] | 20 | [gh-actions] |
| 21 | python = |
Mike Frysinger | b57e633 | 2020-02-15 13:49:10 -0500 | [diff] [blame] | 22 | 3.6: py36 |
| 23 | 3.7: py37 |
| 24 | 3.8: py38 |
| 25 | |
Mike Frysinger | 4997d1c | 2019-12-01 22:47:21 -0500 | [diff] [blame] | 26 | [testenv] |
| 27 | deps = pytest |
Mike Frysinger | d216384 | 2020-02-15 13:44:56 -0500 | [diff] [blame] | 28 | commands = {envpython} run_tests |
| 29 | setenv = |
| 30 | GIT_AUTHOR_NAME = Repo test author |
| 31 | GIT_COMMITTER_NAME = Repo test committer |
| 32 | EMAIL = repo@gerrit.nodomain |