Skip to content

Commit

Permalink
Unbreak test workflow (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans authored Nov 16, 2021
1 parent 1259bfd commit a2f093d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
LOOP_IMPL: ${{ matrix.loop }}
run: |
if [ "${LOOP_IMPL}" = "uvloop" ]; then
env USE_UVLOOP=1 python setup.py test
env USE_UVLOOP=1 python -m unittest -v tests.suite
else
python setup.py test
python -m unittest -v tests.suite
fi
test-postgres:
Expand Down Expand Up @@ -116,21 +116,19 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
if: steps.release.outputs.version == 0
with:
python-version: ${{ matrix.python-version }}

- name: Install Python Deps
if: steps.release.outputs.version == 0
run: |
python -m pip install -U pip setuptools
pip install -e .[test]
python -m pip install -U pip setuptools wheel
python -m pip install -e .[test]
- name: Test
if: steps.release.outputs.version == 0
env:
PGVERSION: ${{ matrix.postgres-version }}
run: |
python setup.py test
python -m unittest -v tests.suite
# This job exists solely to act as the test job aggregate to be
# targeted by branch policies.
Expand Down

0 comments on commit a2f093d

Please sign in to comment.