Skip to content

Commit

Permalink
Create testGHA.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezzatator committed Sep 19, 2023
1 parent 71a4942 commit 5152191
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/testGHA.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Unit Tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
runs-on: macOS-latest

steps:
- name: Checkout the code
uses: actions/checkout@v3

- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1.5.1
with:
xcode-version: '14.2'

- name: Install dependencies
run: |
cd Convertator
- name: Build and run tests
run: |
xcodebuild clean build analyze -scheme Convertator -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12'

0 comments on commit 5152191

Please sign in to comment.