Skip to content

Merge pull request #45 from Idea-Archive/44-duplicated-file-delete #59

Merge pull request #45 from Idea-Archive/44-duplicated-file-delete

Merge pull request #45 from Idea-Archive/44-duplicated-file-delete #59

Workflow file for this run

name: ia-swift-ci
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
jobs:
cleanTest:
runs-on: macos-latest
env:
PROJECT: App/App.xcodeproj
SCHEME: Default
DESTINATION: platform=iOS Simulator,name=iPod touch (7th generation),OS=latest
CONFIGURATION: Debug
steps:
- uses: actions/checkout@v3
- name : Select XCode Version
run : sudo xcode-select -switch /Applications/Xcode.app
- name : Install xcpretty
run : sudo gem install xcpretty
- name: Xcodebuild Clean Test
run: xcodebuild clean test
-project "$PROJECT"
-scheme "$SCHEME"
-configuration "$CONFIGURATION"
-destination "$DESTINATION"
-enableCodeCoverage YES | xcpretty --color
-showBuildTimingSummary
- name: IA Android CI Discord Notification
uses: sarisia/actions-status-discord@v1
if: ${{ success() }}
with:
title: ✅ Idea Archieve Android CI success ✅
webhook: ${{ secrets.IOS_DISCORD_WEBHOOK }}
color: 00FF00
- name: IA Android CI Discord Notification
uses: sarisia/actions-status-discord@v1
if: ${{ failure() }}
with:
title: ❗️ Idea Archieve Android CI failed ❗️
webhook: ${{ secrets.IOS_DISCORD_WEBHOOK }}
color: FF0000