Skip to content

Commit

Permalink
Install testgres using pip on CI
Browse files Browse the repository at this point in the history
Now we can install `testgres` using `pip` since release `1.10.1` that
includes the PR #125 was merged.

https://github.com/postgrespro/testgres/releases/tag/1.10.1
  • Loading branch information
fabriziomello committed Jul 26, 2024
1 parent bdfac29 commit b39aa6c
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/pg_upgrade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,9 @@ jobs:
sudo apt-get update
sudo apt-get install pip postgresql-common libkrb5-dev
# Using e375302a until 1.10.1 get released including the following PR
# https://github.com/postgrespro/testgres/pull/125
- name: Checkout testgres
uses: actions/checkout@v4
with:
repository: 'postgrespro/testgres'
path: 'testgres'
ref: e375302a114cd4df3ceed54d6526f250c44c08e7

- name: Build and install testgres
- name: Install testgres
run: |
cd testgres
python setup.py install --user
pip install testgres
- name: Install PostgreSQL ${{ matrix.pg_version_old}} and ${{ matrix.pg_version_new }}
run: |
Expand Down

0 comments on commit b39aa6c

Please sign in to comment.