Skip to content

Commit

Permalink
Move scripts to a hidden folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Jul 20, 2024
1 parent a426cc7 commit a30faed
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 37 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- uses: actions/checkout@v2
- name: Run Tests
run: |
Scripts/test.sh -s "Nuke" -d "OS=17.4,name=iPhone 15 Pro"
Scripts/test.sh -s "NukeUI" -d "OS=17.4,name=iPhone 15 Pro"
Scripts/test.sh -s "NukeExtensions" -d "OS=17.4,name=iPhone 15 Pro"
.scripts/test.sh -s "Nuke" -d "OS=17.4,name=iPhone 15 Pro"
.scripts/test.sh -s "NukeUI" -d "OS=17.4,name=iPhone 15 Pro"
.scripts/test.sh -s "NukeExtensions" -d "OS=17.4,name=iPhone 15 Pro"
macos-latest:
name: Unit Tests (macOS, Xcode 15.3)
runs-on: macOS-14
Expand All @@ -30,9 +30,9 @@ jobs:
- uses: actions/checkout@v2
- name: Run Tests
run: |
Scripts/test.sh -s "Nuke" -d "platform=macOS"
Scripts/test.sh -s "NukeUI" -d "platform=macOS"
Scripts/test.sh -s "NukeExtensions" -d "platform=macOS"
.scripts/test.sh -s "Nuke" -d "platform=macOS"
.scripts/test.sh -s "NukeUI" -d "platform=macOS"
.scripts/test.sh -s "NukeExtensions" -d "platform=macOS"
tvos-latest:
name: Unit Tests (tvOS 17.4, Xcode 15.3)
runs-on: macOS-14
Expand All @@ -42,9 +42,9 @@ jobs:
- uses: actions/checkout@v2
- name: Run Tests
run: |
Scripts/test.sh -s "Nuke" -d "OS=17.4,name=Apple TV"
Scripts/test.sh -s "NukeUI" -d "OS=17.4,name=Apple TV"
Scripts/test.sh -s "NukeExtensions" -d "OS=17.4,name=Apple TV"
.scripts/test.sh -s "Nuke" -d "OS=17.4,name=Apple TV"
.scripts/test.sh -s "NukeUI" -d "OS=17.4,name=Apple TV"
.scripts/test.sh -s "NukeExtensions" -d "OS=17.4,name=Apple TV"
# There is a problem with watchOS runners where they often fail to launch on CI
#
# watchos-latest:
Expand All @@ -56,9 +56,9 @@ jobs:
# - uses: actions/checkout@v2
# - name: Run Tests
# run: |
# Scripts/test.sh -s "Nuke" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
# Scripts/test.sh -s "NukeUI" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
# Scripts/test.sh -s "Nuke Extensions" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
# .scripts/test.sh -s "Nuke" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
# .scripts/test.sh -s "NukeUI" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
# .scripts/test.sh -s "Nuke Extensions" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
ios-xcode-14-3-1:
name: Unit Tests (iOS 17.0, Xcode 15.0)
runs-on: macOS-13
Expand All @@ -68,9 +68,9 @@ jobs:
- uses: actions/checkout@v2
- name: Run Tests
run: |
Scripts/test.sh -s "Nuke" -d "OS=17.0,name=iPhone 15 Pro"
Scripts/test.sh -s "NukeUI" -d "OS=17.0,name=iPhone 15 Pro"
Scripts/test.sh -s "NukeExtensions" -d "OS=17.0,name=iPhone 15 Pro"
.scripts/test.sh -s "Nuke" -d "OS=17.0,name=iPhone 15 Pro"
.scripts/test.sh -s "NukeUI" -d "OS=17.0,name=iPhone 15 Pro"
.scripts/test.sh -s "NukeExtensions" -d "OS=17.0,name=iPhone 15 Pro"
ios-thread-safety:
name: Thread Safety Tests (TSan Enabled)
runs-on: macOS-14
Expand All @@ -79,7 +79,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: Scripts/test.sh -s "Nuke Thread Safety Tests" -d "OS=17.4,name=iPhone 15 Pro"
run: .scripts/test.sh -s "Nuke Thread Safety Tests" -d "OS=17.4,name=iPhone 15 Pro"
# ios-memory-management-tests:
# name: Memory Management Tests
# runs-on: macOS-13
Expand All @@ -88,7 +88,7 @@ jobs:
# steps:
# - uses: actions/checkout@v2
# - name: Run Tests
# run: Scripts/test.sh -s "Nuke Memory Management Tests" -d "OS=14.4,name=iPhone 12 Pro"
# run: .scripts/test.sh -s "Nuke Memory Management Tests" -d "OS=14.4,name=iPhone 12 Pro"
ios-performance-tests:
name: Performance Tests
runs-on: macOS-14
Expand All @@ -97,7 +97,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: Scripts/test.sh -s "Nuke Performance Tests" -d "OS=17.4,name=iPhone 15 Pro"
run: .scripts/test.sh -s "Nuke Performance Tests" -d "OS=17.4,name=iPhone 15 Pro"
swift-build:
name: Swift Build (SPM)
runs-on: macOS-14
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
42 changes: 23 additions & 19 deletions Nuke.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,6 @@
0C179C772282AC50008AB488 /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .swiftlint.yml; sourceTree = "<group>"; };
0C179C7A2283597F008AB488 /* ImageEncoding.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageEncoding.swift; sourceTree = "<group>"; };
0C1B987F294E28D800C09310 /* Nuke.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Nuke.docc; sourceTree = "<group>"; };
0C1E59662372EBBC00674B63 /* lint.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = lint.sh; path = Scripts/lint.sh; sourceTree = "<group>"; };
0C1E59682372EBBC00674B63 /* validate.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = validate.sh; path = Scripts/validate.sh; sourceTree = "<group>"; };
0C1E596A2372EBBC00674B63 /* test.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = test.sh; path = Scripts/test.sh; sourceTree = "<group>"; };
0C1E620A1D6F817700AD5CF5 /* ImageRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageRequestTests.swift; sourceTree = "<group>"; };
0C222DE2294E2DEA00012288 /* NukeUI.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = NukeUI.docc; sourceTree = "<group>"; };
0C222DE4294E2E0200012288 /* NukeExtensions.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = NukeExtensions.docc; sourceTree = "<group>"; };
Expand Down Expand Up @@ -481,7 +478,6 @@
0CA4ECCF26E68FC000BAC8E5 /* DataCaching.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataCaching.swift; sourceTree = "<group>"; };
0CA4ECD226E68FDC00BAC8E5 /* ImageCaching.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageCaching.swift; sourceTree = "<group>"; };
0CA5D953263CCEA500E08E17 /* ImagePublisher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImagePublisher.swift; sourceTree = "<group>"; };
0CA82BDC237AE09F00338375 /* install_swiftlint.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = install_swiftlint.sh; path = Scripts/install_swiftlint.sh; sourceTree = "<group>"; };
0CA8D8EC2958DA3700EDAA2C /* Atomic.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Atomic.swift; sourceTree = "<group>"; };
0CAAB00F1E45D6DA00924450 /* NukeExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NukeExtensions.swift; sourceTree = "<group>"; };
0CB047992856D9AC00DF9B6D /* Cache.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Cache.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -646,17 +642,6 @@
path = Resources;
sourceTree = "<group>";
};
0C1E59652372EBA600674B63 /* Scripts */ = {
isa = PBXGroup;
children = (
0C1E59662372EBBC00674B63 /* lint.sh */,
0CA82BDC237AE09F00338375 /* install_swiftlint.sh */,
0C1E596A2372EBBC00674B63 /* test.sh */,
0C1E59682372EBBC00674B63 /* validate.sh */,
);
name = Scripts;
sourceTree = "<group>";
};
0C38DAE228568FC30027F9FF /* NukeUI */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -811,7 +796,6 @@
0C9174911BAE99EE004A7905 /* Products */,
0CDB92761DAF9BA500002905 /* Documentation */,
0CDB927F1DAF9BA900002905 /* Metadata */,
0C1E59652372EBA600674B63 /* Scripts */,
0C4F900222E4C4FB0070ECFD /* Frameworks */,
);
sourceTree = "<group>";
Expand Down Expand Up @@ -1142,6 +1126,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 0C55FD1228567875000FD2C9 /* Build configuration list for PBXNativeTarget "NukeExtensions" */;
buildPhases = (
0CC04A952C4BD3BB00F1164D /* Lint */,
0C55FCF828567875000FD2C9 /* Headers */,
0C55FCF928567875000FD2C9 /* Sources */,
0C55FCFA28567875000FD2C9 /* Frameworks */,
Expand Down Expand Up @@ -1465,7 +1450,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "Scripts/lint.sh\n";
shellScript = ".scripts/lint.sh\n";
};
0C38DAA228568FAE0027F9FF /* Lint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -1484,7 +1469,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "Scripts/lint.sh\n";
shellScript = ".scripts/lint.sh\n";
};
0C75849C29A151FF00F985F8 /* Lint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -1503,7 +1488,26 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "Scripts/lint.sh\n";
shellScript = ".scripts/lint.sh\n";
};
0CC04A952C4BD3BB00F1164D /* Lint */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = Lint;
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = ".scripts/lint.sh\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down

1 comment on commit a30faed

@github3-max
Copy link

Choose a reason for hiding this comment

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

good

Please sign in to comment.