$active_feature_flags
should filter non active flags
#27
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: Build and test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v1 | |
- run: ls /Applications | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_14.2.app && /usr/bin/xcodebuild -version | |
- name: Install pods | |
run: pod install --repo-update | |
- name: Lint podspec | |
run: pod lib lint --no-clean | |
# tests: | |
# runs-on: macos-12 | |
# strategy: | |
# matrix: | |
# include: | |
# # Latest xcode | |
# - xcode: "14.2" | |
# ios: "16.2" | |
# # Older version | |
# - xcode: "13.1" | |
# ios: "15.0" | |
# name: test iOS (${{ matrix.ios }}) | |
# steps: | |
# - uses: actions/checkout@v1 | |
# - run: ls /Applications | |
# - name: Select Xcode | |
# run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app && /usr/bin/xcodebuild -version | |
# - name: Install pods | |
# run: pod install --repo-update | |
# - name: Run unit tests | |
# run: xcodebuild test -scheme PostHogTests -workspace PostHog.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 13,OS=${{ matrix.ios }}' | xcpretty && exit ${PIPESTATUS[0]} |