Skip to content

Commit

Permalink
chore: fix python action image tag (#229)
Browse files Browse the repository at this point in the history
* chore: fix python action image tag

Signed-off-by: Keming <kemingyang@tensorchord.ai>

* add gh token

Signed-off-by: Keming <kemingyang@tensorchord.ai>

---------

Signed-off-by: Keming <kemingyang@tensorchord.ai>
  • Loading branch information
kemingy authored Jan 4, 2024
1 parent d0349f1 commit 16af213
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/python_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,13 @@ jobs:
working-directory: bindings/python
run: |
pdm sync -G :all
# - name: Install Docker for macOS
# if: matrix.os == 'macos-latest'
# run: |
# brew install docker
# colima start
- name: Start Postgres
env:
GH_TOKEN: ${{ github.token }}
run: |
docker run --name pgvecto-rs-demo -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d tensorchord/pgvecto-rs:latest
LATEST_STABLE_VERSION=$(gh release list --repo tensorchord/pgvecto.rs --exclude-drafts --exclude-pre-releases --limit 1 | awk '{print $3}')
docker run --name pgvecto-rs-demo -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d tensorchord/pgvecto-rs:pg15-${LATEST_STABLE_VERSION}
- name: Run Tests
working-directory: bindings/python
Expand Down

0 comments on commit 16af213

Please sign in to comment.