Skip to content

Commit a2f093d

Browse files
authored
Unbreak test workflow (#854)
1 parent 1259bfd commit a2f093d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 7 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:
@@ -116,21 +116,19 @@ jobs:
116116
- name: Set up Python ${{ matrix.python-version }}
117117
uses: actions/setup-python@v2
118118
if: steps.release.outputs.version == 0
119-
with:
120-
python-version: ${{ matrix.python-version }}
121119

122120
- name: Install Python Deps
123121
if: steps.release.outputs.version == 0
124122
run: |
125-
python -m pip install -U pip setuptools
126-
pip install -e .[test]
123+
python -m pip install -U pip setuptools wheel
124+
python -m pip install -e .[test]
127125
128126
- name: Test
129127
if: steps.release.outputs.version == 0
130128
env:
131129
PGVERSION: ${{ matrix.postgres-version }}
132130
run: |
133-
python setup.py test
131+
python -m unittest -v tests.suite
134132
135133
# This job exists solely to act as the test job aggregate to be
136134
# targeted by branch policies.

0 commit comments

Comments
 (0)