Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tests for CI and fixed yml file for SwiftLint #20

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

Anish0999
Copy link

Description

This pull request added tests for CI and fixed the yml file to pull request for SwiftLint

Issues Resolved

  • Unit Tests are now tested for any pull request
  • SwiftLint push changed to pull request in yml file

Changes Made

  • Utilizing Github actions I created a new yml file that will test any tests written in the Tests > StringCatalogEnumTests > StringCatalogEnumTests.swift. This will be run whenever anyone creates a PR

Checklist

  • My changes generate no new warnings or errors
  • The commit messages are clear and follow best practices.

Additional Comments
N/A

Copy link
Owner

@superarts superarts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Anish0999 I have reviewed one file of your PR. However, I'm going to ask you to look at your PR again, read our slack conversation, and figure out the rest of your problems by yourself.

It is OK for me to direct you through the tasks, but I don't want to keep repeating myself.

jobs:
test:
name: Run Swift Tests
runs-on: ubuntu-latest
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an interesting approach. Users of this tool should be using macOS, but making the tool cross-platform may have some value?

@@ -0,0 +1,24 @@
name: Swift
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name: Swift
name: Swift unit test

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename to swift-unit-test.yml


steps:
- name: Check out code
uses: actions/checkout@v2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using the latest version? I think it's v4 now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants