From 1da535d2f3f2d6eade3b5241a5eff5af55c08378 Mon Sep 17 00:00:00 2001 From: Roman Podymov Date: Wed, 5 Jul 2023 07:16:51 +0200 Subject: [PATCH] Create notesapplication.yml --- .github/workflows/notesapplication.yml | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/notesapplication.yml diff --git a/.github/workflows/notesapplication.yml b/.github/workflows/notesapplication.yml new file mode 100644 index 0000000..9956794 --- /dev/null +++ b/.github/workflows/notesapplication.yml @@ -0,0 +1,30 @@ +name: NotesApplicationJobs + +on: + push: + branches: + - main + +jobs: + test: + name: NotesApplicationTests + runs-on: macos-12 + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Setup Xcode version + uses: maxim-lobanov/setup-xcode@v1.5.1 + with: + xcode-version: 14.2 + - name: Install Mint + run: brew install mint + - name: Generate Xcode project + run: mint bootstrap && mint run xcodegen + - name: Install Bundler + run: gem install bundler:2.2.16 + - name: Bundle Install + run: bundle install + - name: CocoaPods + run: bundle exec pod install + - name: Build and test + run: xcodebuild test -workspace NotesApplication.xcworkspace -scheme NotesApplicationApp -destination "platform=iOS Simulator,OS=16.2,name=iPhone 8"