Skip to content

Commit

Permalink
Update swift-integration.yml to use specified Yorkie server for integ…
Browse files Browse the repository at this point in the history
…ration tests
  • Loading branch information
hiddenviewer committed Oct 28, 2024
1 parent b334ab0 commit 20f2583
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/swift-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
jobs:
build:
runs-on: macos-latest

env:
# yorkie server v0.4.31
YORKIE_RB_URL: "https://raw.githubusercontent.com/Homebrew/homebrew-core/880510a1dad7e32b2699c32a55706955981bdcca/Formula/y/yorkie.rb"

steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
Expand All @@ -17,7 +22,10 @@ jobs:
- name: Update Brew
run: brew update
- name: Setup yorkie server
run: brew reinstall yorkie
run: |
curl -O ${{ env.YORKOE_RB_URL }}
brew uninstall yorkie
brew install "yorkie.rb"
- name: Run yorkie server
run: yorkie server &
- name: Run tests
Expand Down

0 comments on commit 20f2583

Please sign in to comment.