Skip to content

Commit

Permalink
Merge pull request #10 from trafi/test/failure
Browse files Browse the repository at this point in the history
Testing if it will fail
  • Loading branch information
Domas Nutautas authored May 14, 2020
2 parents 7113093 + 408492a commit 134cd60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: CI
on:
pull_request:
branches:
Expand All @@ -12,5 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Run StoryFlow tests
run: xcodebuild test -scheme StoryFlow -destination "platform=iOS Simulator,name=iPhone 11" | xcpretty
run: |
set -eo pipefail
xcodebuild test -scheme StoryFlow -destination "platform=iOS Simulator,name=iPhone 11" | xcpretty
- uses: codecov/codecov-action@v1
2 changes: 1 addition & 1 deletion StoryFlowTests/Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ extension XCTestCase {
DispatchQueue.global(qos: .userInitiated).async { _ = testCase() }

// Assert
waitForExpectations(timeout: 0.1) { _ in
waitForExpectations(timeout: 0.3) { _ in
// Clean up
FatalErrorUtil.restoreFatalError()
}
Expand Down

0 comments on commit 134cd60

Please sign in to comment.