Skip to content

Commit

Permalink
Refactored workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrankmlf committed Sep 15, 2023
1 parent ce084c7 commit 4255fe5
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@

name: Tests PassGuard using CI process

on:
push:
push:
branches:
- master
- master
paths:
- ".github/workflows/**"
- "Package.swift"
- "PassGuard/**"
pull_request:
- ".github/workflows/**"
- "Package.swift"
- "PassGuard/**"
pull_request:
branches:
- master
- master

jobs:
build-and-test:
build-and-test:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Select Xcode
run: sudo Xcode-select -switch /Applications/Xcode_14.3.app
- name: Build & Test
- name: Checkout Code
uses: actions/checkout@v2
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
- name: Build & Test
run: xcodebuild test -scheme PassGuard -project PassGuard.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 14'

0 comments on commit 4255fe5

Please sign in to comment.