Skip to content

Commit

Permalink
updated ci files
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Espinola committed Jun 6, 2024
1 parent c76d6b1 commit 1ba0c2e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
push:
branches:
- main
- feature/*
- "feature/*"
pull_request:
branches:
- main
- feature/*
- "feature/*"
- swift-migration
workflow_dispatch:

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Lint

on:
push:
branches:
- main
- "feature/*"
pull_request:
branches:
- develop
- swift-migration
- main
- feature/*
- "feature/*"

concurrency:
group: ${{ github.ref_name }}
Expand All @@ -25,4 +28,4 @@ jobs:
run: |
sudo xcode-select -switch /Applications/Xcode_15.3.app
- name: Lint
run: swiftlint
run: swiftlint
7 changes: 3 additions & 4 deletions .github/workflows/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ name: Run UI Test Cases
on:
pull_request:
branches:
- develop
- swift-migration
- main
- feature/*
- "feature/*"

concurrency:
group: ${{ github.ref_name }}
Expand All @@ -24,7 +23,7 @@ jobs:
uses: actions/checkout@v3
- name: Reset Simulators
run: xcrun simctl erase all
- name: "Run UI Tests"
- name: Run UI Tests
run: |
set -o pipefail
xcodebuild -workspace "attentive-ios-sdk.xcworkspace" -scheme "CreativeUITest" -destination "platform=iOS Simulator,OS=17.4,name=iPhone 15 Pro" -derivedDataPath build/ -resultBundlePath ui-test-results.xcresult test | xcpretty
Expand All @@ -36,4 +35,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ui-test-results
path: ui-test-results.xcresult.tar.gz
path: ui-test-results.xcresult.tar.gz

0 comments on commit 1ba0c2e

Please sign in to comment.