-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from phiHero/master
Feat: add support for overrides / curation
- Loading branch information
Showing
29 changed files
with
869 additions
and
287 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
name: tests | ||
on: [push, pull_request] | ||
|
||
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 | ||
|
@@ -11,12 +18,11 @@ jobs: | |
test: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- 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 | ||
|
@@ -26,16 +32,16 @@ jobs: | |
mkdir $(pwd)/typesense-data | ||
docker run -p 8108:8108 \ | ||
-d \ | ||
-v$(pwd)/typesense-data:/data typesense/typesense:0.25.2 \ | ||
-v$(pwd)/typesense-data:/data typesense/typesense:26.0 \ | ||
--data-dir /data \ | ||
--api-key=xyz \ | ||
--enable-cors | ||
shell: bash | ||
|
||
- name: Set up Xcode 13.2.1 | ||
- name: Set up Xcode | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: '13.2.1' | ||
xcode-version: latest-stable | ||
|
||
- name: Run Tests | ||
- name: Run tests | ||
run: swift test |
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
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
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
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
Oops, something went wrong.