Skip to content

Commit ee99286

Browse files
committed
Drop custom test runner, include tox in dev-requirements.txt
1 parent aeeab52 commit ee99286

File tree

8 files changed

+8
-38
lines changed

8 files changed

+8
-38
lines changed

.github/workflows/fluent.integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
- name: Install latest fluent.syntax
4242
working-directory: ./fluent.syntax
4343
run: python -m pip install .
44-
- run: ./runtests.py
44+
- run: python -m unittest
4545
working-directory: ./fluent.runtime

.github/workflows/fluent.runtime.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
python -m pip install --upgrade pip
4242
python -m pip install fluent.syntax==${{ matrix.fluent-syntax }} six
4343
python -m pip install .
44-
- run: ./runtests.py
44+
- run: python -m unittest
4545
working-directory: ./fluent.runtime

.github/workflows/fluent.syntax.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ jobs:
3636
python -m pip install wheel
3737
python -m pip install --upgrade pip
3838
python -m pip install .
39-
- run: ./runtests.py
39+
- run: python -m unittest
4040
working-directory: ./fluent.syntax

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
flake8 ~= 7.0
22
isort ~= 5.0
33
mypy ~= 1.0
4+
tox ~= 4.0
45
types-babel
56
types-pytz

fluent.runtime/runtests.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

fluent.runtime/tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ deps =
1212
attrs==19.1.0
1313
babel==2.7.0
1414
pytz==2019.2
15-
typing-extensions==3.7
15+
typing-extensions~=3.7
1616
syntax: .
17-
commands = ./runtests.py
17+
commands = python -m unittest
1818

1919
[testenv:latest]
2020
basepython = python3

fluent.syntax/runtests.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

fluent.syntax/tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ skipsdist=True
88
setenv =
99
PYTHONPATH = {toxinidir}
1010
deps =
11-
typing-extensions==3.7
12-
commands = ./runtests.py
11+
typing-extensions~=3.7
12+
commands = python -m unittest

0 commit comments

Comments
 (0)