Skip to content

Commit

Permalink
Merge pull request #222 from dimagi/gh/change-testrunner
Browse files Browse the repository at this point in the history
Use unittest to run tests
  • Loading branch information
gherceg authored Sep 9, 2024
2 parents e19a8d1 + 2268649 commit 0bc25d8
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 123 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "setuptools<72"
python -m pip install setuptools
python -m pip install -e .
- name: Run tests
run: |
python setup.py test
python -m unittest
- name: Test cython files
run: |
scripts/install_cython.sh
Expand Down
2 changes: 1 addition & 1 deletion LIFECYCLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You must rebuild C files for the tests to pick up your changes. Try this for iterating:

```
$ python setup.py build_ext --inplace && python setup.py test
$ python setup.py build_ext --inplace && python -m unittest
```

# Maintaining built C files
Expand Down
25 changes: 0 additions & 25 deletions couchdbkit_shim/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion couchdbkit_shim/requirements.txt

This file was deleted.

75 changes: 0 additions & 75 deletions sample_generator.py

This file was deleted.

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
setup_requires=CYTHON_REQUIRES,
install_requires=['six'],
ext_modules=extensions,
test_suite='test',
classifiers=(
'Programming Language :: Python',
'Programming Language :: Python :: 3',
Expand Down
11 changes: 0 additions & 11 deletions testcouchdbkit.py

This file was deleted.

7 changes: 0 additions & 7 deletions tox.ini

This file was deleted.

0 comments on commit 0bc25d8

Please sign in to comment.