Skip to content

Commit

Permalink
Drop custom test runner, include tox in dev-requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Mar 10, 2024
1 parent aeeab52 commit ee99286
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fluent.integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
- name: Install latest fluent.syntax
working-directory: ./fluent.syntax
run: python -m pip install .
- run: ./runtests.py
- run: python -m unittest
working-directory: ./fluent.runtime
2 changes: 1 addition & 1 deletion .github/workflows/fluent.runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
python -m pip install --upgrade pip
python -m pip install fluent.syntax==${{ matrix.fluent-syntax }} six
python -m pip install .
- run: ./runtests.py
- run: python -m unittest
working-directory: ./fluent.runtime
2 changes: 1 addition & 1 deletion .github/workflows/fluent.syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:
python -m pip install wheel
python -m pip install --upgrade pip
python -m pip install .
- run: ./runtests.py
- run: python -m unittest
working-directory: ./fluent.syntax
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
flake8 ~= 7.0
isort ~= 5.0
mypy ~= 1.0
tox ~= 4.0
types-babel
types-pytz
30 changes: 0 additions & 30 deletions fluent.runtime/runtests.py

This file was deleted.

4 changes: 2 additions & 2 deletions fluent.runtime/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ deps =
attrs==19.1.0
babel==2.7.0
pytz==2019.2
typing-extensions==3.7
typing-extensions~=3.7
syntax: .
commands = ./runtests.py
commands = python -m unittest

[testenv:latest]
basepython = python3
Expand Down
1 change: 0 additions & 1 deletion fluent.syntax/runtests.py

This file was deleted.

4 changes: 2 additions & 2 deletions fluent.syntax/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ skipsdist=True
setenv =
PYTHONPATH = {toxinidir}
deps =
typing-extensions==3.7
commands = ./runtests.py
typing-extensions~=3.7
commands = python -m unittest

0 comments on commit ee99286

Please sign in to comment.