Skip to content

Commit

Permalink
Merge pull request #29 from typesense/github-actions
Browse files Browse the repository at this point in the history
Switch to GitHub actions
  • Loading branch information
jasonbosco authored Jan 31, 2024
2 parents 9fa9647 + 3b82c62 commit 2e74c1d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Test

on: [push, pull_request]

jobs:
test:
runs-on: macos-11
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Typesense
run: |
curl --output ts.tar.gz https://dl.typesense.org/releases/0.22.2/typesense-server-0.22.2-darwin-amd64.tar.gz
tar -xzf ts.tar.gz
- name: Run Typesense
run: |
./typesense-server --api-key=xyz --data-dir=/tmp &
shell: bash

- name: Set up Xcode 13.2.1
uses: maxim-lobanov/[email protected]
with:
xcode-version: '13.2.1'

- name: Run Tests
run: swift test

0 comments on commit 2e74c1d

Please sign in to comment.