Skip to content

Commit

Permalink
use hatch envs for psycopg2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jun 7, 2024
1 parent ac937f4 commit 1ffb3cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:

- name: "Test psycopg2 name - default"
run: |
pip install --upgrade --force-reinstall .
hatch env prune
PSYCOPG2_NAME=$(hatch run pip show psycopg2 || pip show psycopg2-binary | grep Name | cut -d " " -f 2)
if [[ "$PSYCOPG2_NAME" != "$PSYCOPG2_EXPECTED_NAME" ]]; then
Expand All @@ -126,7 +126,7 @@ jobs:

- name: "Test psycopg2 name - invalid override"
run: |
pip install --upgrade --force-reinstall .
hatch env prune
PSYCOPG2_NAME=$(hatch run pip show psycopg2 || pip show psycopg2-binary | grep Name | cut -d " " -f 2)
if [[ "$PSYCOPG2_NAME" != "$PSYCOPG2_EXPECTED_NAME" ]]; then
Expand All @@ -138,7 +138,7 @@ jobs:

- name: "Test psycopg2 name - override"
run: |
pip install --upgrade --force-reinstall .
hatch env prune
PSYCOPG2_NAME=$(hatch run pip show psycopg2 || pip show psycopg2-binary | grep Name | cut -d " " -f 2)
if [[ "$PSYCOPG2_NAME" != "$PSYCOPG2_EXPECTED_NAME" ]]; then
Expand Down

0 comments on commit 1ffb3cb

Please sign in to comment.