feat: Swift client #1
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: Test Swift SDK | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
test: | |
name: Integration Tests | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: Install Flipt | |
uses: flipt-io/[email protected] | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.75.0 | |
override: true | |
- name: Install Swift | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: "5.9" | |
- name: run flipt | |
env: | |
FLIPT_STORAGE_TYPE: "local" | |
FLIPT_STORAGE_LOCAL_PATH: "/test/fixtures/testdata" | |
run: flipt | |
- name: Run Integration Tests | |
run: | | |
cd /flipt-client-swift | |
swift test |