Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 41 additions & 41 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,44 +34,44 @@ jobs:
- name: run lint
run: flutter analyze

# test-ios:
# name: Run iOS tests
# runs-on: [self-hosted, macOS]
# needs: lint
# defaults:
# run:
# working-directory: ./client/ios

# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# submodules: "recursive"
# token: ${{ secrets.PRIVATE_REPO_CLONING_TOKEN }}

# - name: setup flutter
# uses: subosito/flutter-action@v2
# with:
# channel: stable
# flutter-version: 3.32.6

# - name: get deps
# run: flutter pub get

# - name: Create BoringTun directory
# run: mkdir -p VPNExtension/BoringTun

# - name: Generate boringtun bindings
# run: cd boringtun && ./bindings.sh

# - name: Update CocoaPods
# run: pod repo update

# # - name: build project
# # run: flutter build ios

# - name: Unlock Keychain
# run: security -v unlock-keychain -p "${{ secrets.KEYCHAIN_PASSWORD }}" /Users/admin/Library/Keychains/login.keychain

# - name: run plugin tests
# run: xcodebuild test -workspace Runner.xcworkspace -scheme Runner
test-ios:
name: Run iOS tests
runs-on: [self-hosted, macOS]
needs: lint
defaults:
run:
working-directory: ./client/ios

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "recursive"
token: ${{ secrets.PRIVATE_REPO_CLONING_TOKEN }}

- name: setup flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.32.6

- name: get deps
run: flutter pub get

- name: Create BoringTun directory
run: mkdir -p VPNExtension/BoringTun

- name: Generate boringtun bindings
run: cd boringtun && ./bindings.sh

- name: Update CocoaPods
run: pod repo update

# - name: build project
# run: flutter build ios

- name: Unlock Keychain
run: security -v unlock-keychain -p "${{ secrets.KEYCHAIN_PASSWORD }}" /Users/admin/Library/Keychains/login.keychain

- name: run plugin tests
run: xcodebuild test -workspace Runner.xcworkspace -scheme Runner
Loading