Skip to content

Commit

Permalink
Merge pull request #7 from yumemi-inc/feature/test
Browse files Browse the repository at this point in the history
fix: for tests
  • Loading branch information
el-hoshino authored Dec 5, 2023
2 parents 8d3283e + 3b9f2da commit 91ed6f9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ final class DangerSwiftKantokuTests: XCTestCase {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct
// results.
XCTAssertEqual(DangerSwiftKantoku().text, "Hello, World!")

}
}

0 comments on commit 91ed6f9

Please sign in to comment.