Skip to content

Commit

Permalink
Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrmarin-lvmh committed Jun 28, 2024
1 parent 676a87e commit 3aed62a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/unittestall.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: CI

on: [push]
on:
push:
branches:
- 'master'
pull_request:
types: [opened, reopened]

jobs:
test:
Expand All @@ -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: ""
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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/).

Expand Down
22 changes: 20 additions & 2 deletions StylableSwiftUI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@
8FACB88C2C2F0D44009EE5AD /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
8FACB88D2C2F0D44009EE5AD /* Package.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
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 = "<group>"; };
8FACB8C02C2F0FF1009EE5AD /* StylableSwiftUI.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = StylableSwiftUI.xctestplan; sourceTree = "<group>"; };
8FACB8D12C2F11B1009EE5AD /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = .swiftlint.yml; sourceTree = "<group>"; };
8FACB8D22C2F11B5009EE5AD /* StylableSwiftUI.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = StylableSwiftUI.podspec; sourceTree = "<group>"; };
8FACB8D32C2F1B60009EE5AD /* unittestall.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = unittestall.yml; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -106,7 +107,7 @@
1682B4D42C1759A700D73706 = {
isa = PBXGroup;
children = (
8FACB8C02C2F0FF1009EE5AD /* StylableSwiftUI.xctestplan */,
8FACB8D52C2F1B60009EE5AD /* .github */,
8FACB8692C2F0D44009EE5AD /* Gemfile */,
8FACB88B2C2F0D44009EE5AD /* LICENSE */,
8FACB86A2C2F0D44009EE5AD /* NDS.md */,
Expand Down Expand Up @@ -145,6 +146,7 @@
8FACB8732C2F0D44009EE5AD /* Tests */ = {
isa = PBXGroup;
children = (
8FACB8C02C2F0FF1009EE5AD /* StylableSwiftUI.xctestplan */,
8FACB8712C2F0D44009EE5AD /* StylableSwiftUITests */,
8FACB8722C2F0D44009EE5AD /* Info.plist */,
);
Expand Down Expand Up @@ -208,6 +210,22 @@
path = Sources;
sourceTree = "<group>";
};
8FACB8D42C2F1B60009EE5AD /* workflows */ = {
isa = PBXGroup;
children = (
8FACB8D32C2F1B60009EE5AD /* unittestall.yml */,
);
path = workflows;
sourceTree = "<group>";
};
8FACB8D52C2F1B60009EE5AD /* .github */ = {
isa = PBXGroup;
children = (
8FACB8D42C2F1B60009EE5AD /* workflows */,
);
path = .github;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down

0 comments on commit 3aed62a

Please sign in to comment.