Skip to content

Commit

Permalink
add matrix for typesense port
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeyson committed May 23, 2024
1 parent 4c50201 commit 9eb0bec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
strategy:
matrix:
typesense-version: ['0.25.2', '26.0']
typesense-port: ['8108:8108']

env:
MIX_ENV: test
Expand All @@ -40,7 +41,7 @@ jobs:
- name: Start Typesense
run: |
docker run -d \
-p 8108:8108 \
-p ${{ matrix.typesense-port }} \
--name typesense \
-v /tmp/typesense:/data \
typesense/typesense:${{ matrix.typesense-version}} \
Expand All @@ -49,7 +50,7 @@ jobs:
--enable-cors
- name: Curl Typesense
run: sleep 10 && curl http://localhost:8108/health
run: sleep 1 && curl http://localhost:8108/health

- name: Setup Elixir/OTP
uses: erlef/setup-beam@v1
Expand Down

0 comments on commit 9eb0bec

Please sign in to comment.