diff --git a/.github/workflows/unittestall.yml b/.github/workflows/unittestall.yml index c7edc3b..316f93a 100644 --- a/.github/workflows/unittestall.yml +++ b/.github/workflows/unittestall.yml @@ -1,6 +1,11 @@ name: CI -on: [push] +on: + push: + branches: + - 'master' + pull_request: + types: [opened, reopened] jobs: test: @@ -21,13 +26,11 @@ jobs: - name: Test StylableSwiftUI shell: bash run: | - pushd Example set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace ${workspace} -scheme ${scheme} -destination "${destination}" - popd pod lib lint --allow-warnings env: destination: ${{ matrix.destination }} - scheme: "StylableSwiftUI-Example" + scheme: "StylableSwiftUI" workspace: "StylableSwiftUI.xcworkspace" ONLY_ACTIVE_ARCH: "NO" CODE_SIGN_IDENTITY: "" diff --git a/README.md b/README.md index 8af967c..bf9efec 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![CI](https://github.com/design-ops/stylable-swiftUI/workflows/CI/badge.svg?branch=master&event=push) -# SwiftUIStylable +# StylableSwiftUI An attempt to make SwiftUI components stylable by an external type and reusable across apps, based on the principles of Atomic Design (https://bradfrost.com/blog/post/atomic-web-design/). diff --git a/StylableSwiftUI.xcodeproj/project.pbxproj b/StylableSwiftUI.xcodeproj/project.pbxproj index 9a34a9f..0212bb0 100644 --- a/StylableSwiftUI.xcodeproj/project.pbxproj +++ b/StylableSwiftUI.xcodeproj/project.pbxproj @@ -78,9 +78,10 @@ 8FACB88C2C2F0D44009EE5AD /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 8FACB88D2C2F0D44009EE5AD /* Package.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; 8FACB8B02C2F0DF0009EE5AD /* StylableSwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StylableSwiftUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 8FACB8C02C2F0FF1009EE5AD /* StylableSwiftUI.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; name = StylableSwiftUI.xctestplan; path = Tests/StylableSwiftUI.xctestplan; sourceTree = ""; }; + 8FACB8C02C2F0FF1009EE5AD /* StylableSwiftUI.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = StylableSwiftUI.xctestplan; sourceTree = ""; }; 8FACB8D12C2F11B1009EE5AD /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = .swiftlint.yml; sourceTree = ""; }; 8FACB8D22C2F11B5009EE5AD /* StylableSwiftUI.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = StylableSwiftUI.podspec; sourceTree = ""; }; + 8FACB8D32C2F1B60009EE5AD /* unittestall.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = unittestall.yml; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -106,7 +107,7 @@ 1682B4D42C1759A700D73706 = { isa = PBXGroup; children = ( - 8FACB8C02C2F0FF1009EE5AD /* StylableSwiftUI.xctestplan */, + 8FACB8D52C2F1B60009EE5AD /* .github */, 8FACB8692C2F0D44009EE5AD /* Gemfile */, 8FACB88B2C2F0D44009EE5AD /* LICENSE */, 8FACB86A2C2F0D44009EE5AD /* NDS.md */, @@ -145,6 +146,7 @@ 8FACB8732C2F0D44009EE5AD /* Tests */ = { isa = PBXGroup; children = ( + 8FACB8C02C2F0FF1009EE5AD /* StylableSwiftUI.xctestplan */, 8FACB8712C2F0D44009EE5AD /* StylableSwiftUITests */, 8FACB8722C2F0D44009EE5AD /* Info.plist */, ); @@ -208,6 +210,22 @@ path = Sources; sourceTree = ""; }; + 8FACB8D42C2F1B60009EE5AD /* workflows */ = { + isa = PBXGroup; + children = ( + 8FACB8D32C2F1B60009EE5AD /* unittestall.yml */, + ); + path = workflows; + sourceTree = ""; + }; + 8FACB8D52C2F1B60009EE5AD /* .github */ = { + isa = PBXGroup; + children = ( + 8FACB8D42C2F1B60009EE5AD /* workflows */, + ); + path = .github; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */