Skip to content

Add GH Action to run SwiftLint and unit tests for pr's to main #47

Closed
@mpospese

Description

@mpospese

Intro

Let's leverage GitHub Actions to do some CI/CD work for us. It would be great to check SwiftLint + unit tests prior to allowing merges to main.

Task

add a GitHub action by adding a file named run_linter_and_unit_tests.yml to .github/workflows directory.

Copy the contents of the file from YCoreUI only updating references to YCoreUI to YComponentBrowser and delete the two steps related to tvOS so that it actually builds.

AC

The newly created automated check on the PR branch runs and completes successfully (otherwise GitHub won't allow the PR to be merged anyway)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions