Skip to content

Commit deffe44

Browse files
committed
Unbreak test workflow
1 parent 7a2dfdc commit deffe44

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ jobs:
7171
LOOP_IMPL: ${{ matrix.loop }}
7272
run: |
7373
if [ "${LOOP_IMPL}" = "uvloop" ]; then
74-
env USE_UVLOOP=1 python setup.py test
74+
env USE_UVLOOP=1 python -m unittest -v tests.suite
7575
else
76-
python setup.py test
76+
python -m unittest -v tests.suite
7777
fi
7878
7979
test-postgres:
@@ -122,15 +122,15 @@ jobs:
122122
- name: Install Python Deps
123123
if: steps.release.outputs.version == 0
124124
run: |
125-
python -m pip install -U pip setuptools
126-
pip install -e .[test]
125+
python -m pip install -U pip setuptools wheel
126+
python -m pip install -e .[test]
127127
128128
- name: Test
129129
if: steps.release.outputs.version == 0
130130
env:
131131
PGVERSION: ${{ matrix.postgres-version }}
132132
run: |
133-
python setup.py test
133+
python -m unittest -v tests.suite
134134
135135
# This job exists solely to act as the test job aggregate to be
136136
# targeted by branch policies.

0 commit comments

Comments
 (0)