Add debug endpoint and voice query parameters, update collection field schema, fix the prefix param π, add support for node URL #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
# Cancel previous running if a new push is made | |
# Source: https://stackoverflow.com/a/72408109/123545 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install and start dependencies | |
run: | | |
brew install docker | |
brew install colima | |
# https://github.com/abiosoft/colima/issues/424#issuecomment-1335912905 | |
colima delete | |
colima start --arch x86_64 | |
- name: Run Typesense | |
run: | | |
mkdir $(pwd)/typesense-data | |
docker run -p 8108:8108 \ | |
-d \ | |
-v$(pwd)/typesense-data:/data typesense/typesense:26.0 \ | |
--data-dir /data \ | |
--api-key=xyz \ | |
--enable-cors | |
shell: bash | |
- name: Set up Xcode | |
uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: latest-stable | |
- name: Run tests | |
run: swift test |