Skip to content

Commit

Permalink
fix: custom test command in tox
Browse files Browse the repository at this point in the history
  • Loading branch information
itkovian committed Apr 29, 2024
1 parent b027444 commit 0fa30df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions runtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,11 @@

import argparse
import glob
import json
import logging
import os
import pprint
import re
import shutil
import sys
from unittest.case import TestCase
from vsc.utils.run import run_asyncloop
from vsc.utils.generaloption import simple_option

"""
Test the grok patterns for vector usage.
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ skipsdist = true
commands_pre =
pip install 'setuptools<42.0'
python -m easy_install -U vsc-install
python -m easy_install -U vsc-base
python -m easy_install -U vsc-install

[testenv:py39]
ignore_outcome = true
setenv = SETUPTOOLS_USE_DISTUTILS=local
commands_pre =
pip install 'setuptools<54.0' wheel
python -c "from setuptools import setup;setup(script_args=['-q', 'easy_install', '-v', '-U', 'vsc-install'])"
python -c "from setuptools import setup;setup(script_args=['-q', 'easy_install', '-v', '-U', 'vsc-base'])"
python -c "from setuptools import setup;setup(script_args=['-q', 'easy_install', '-v', '-U', 'vsc-utils'])"

[testenv]
commands = python setup.py test
commands = python runtest.py --info
passenv = USER

0 comments on commit 0fa30df

Please sign in to comment.