Skip to content

Commit

Permalink
Setting up tests runner
Browse files Browse the repository at this point in the history
  • Loading branch information
diniska authored Oct 17, 2020
2 parents b9816bc + 1d7643f commit e9063b2
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Tests runner

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ModalView

![Swift 5.1](https://img.shields.io/badge/Swift-5.1-FA5B2C) ![Xcode 11](https://img.shields.io/badge/Xcode-11-44B3F6) ![iOS 13.0](https://img.shields.io/badge/iOS-13.0-178DF6) ![iPadOS 13.0](https://img.shields.io/badge/iPadOS-13.0-178DF6) ![MacOS 10.15](https://img.shields.io/badge/MacOS-10.15-178DF6)
![Swift 5.1](https://img.shields.io/badge/Swift-5.1-FA5B2C) ![Xcode 11](https://img.shields.io/badge/Xcode-11-44B3F6) ![iOS 13.0](https://img.shields.io/badge/iOS-13.0-178DF6) ![iPadOS 13.0](https://img.shields.io/badge/iPadOS-13.0-178DF6) ![MacOS 10.15](https://img.shields.io/badge/MacOS-10.15-178DF6) ![Tests](https://github.com/diniska/modal-view/workflows/Tests%20runner/badge.svg)

SwiftUI An analogue of `NavigationView` that provides a convenient interface of displaying modal views.
An analogue of SwiftUI `NavigationView` that provides a convenient interface of displaying modal views.

## How to use
### Step 1
Expand Down
2 changes: 1 addition & 1 deletion Tests/ModalViewTests/ModalViewTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ final class ModalViewTests: XCTestCase {
}
}

func testLinkWithDismisseClosure() {
func testLinkWithDismissClosure() {
struct ModalView: View {
var dismiss: () -> ()
var body: some View {
Expand Down
Binary file modified Tests/Resources/LinkInsideList.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Tests/Resources/ModalPresenterWithLink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e9063b2

Please sign in to comment.