Skip to content

Commit

Permalink
Update the Snapshot Tests (#9)
Browse files Browse the repository at this point in the history
* Update snaphost tests

* Update `CHANGELOG.md`
  • Loading branch information
ns-vasilev authored Jul 19, 2024
1 parent 3bf24bb commit ea76704
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ jobs:
DIFF_BASE: ${{ github.base_ref }}
Latest:
name: Test Latest (iOS, macOS, tvOS, watchOS)
runs-on: macOS-12
runs-on: macOS-13
env:
DEVELOPER_DIR: "/Applications/Xcode_14.1.app/Contents/Developer"
DEVELOPER_DIR: "/Applications/Xcode_15.1.app/Contents/Developer"
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- destination: "OS=16.1,name=iPhone 14 Pro"
- destination: "OS=17.0,name=iPhone 14 Pro"
name: "iOS"
sdk: iphonesimulator
- destination: "OS=16.1,name=Apple TV"
- destination: "OS=17.2,name=Apple TV"
name: "tvOS"
sdk: appletvsimulator
- destination: "OS=9.1,name=Apple Watch Series 8 (45mm)"
Expand All @@ -59,11 +59,11 @@ jobs:

discover-typos:
name: Discover Typos
runs-on: macOS-12
runs-on: macOS-13
env:
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Discover typos
run: |
export PATH="$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin"
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Released on 2024-07-19.
#### Updated
- Update the masking logic
- Updated in Pull Request [#7](https://github.com/space-code/skeleton-ui/pull/7).
- Update the snapshot tests
- Updated in Pull Request [#8](https://github.com/space-code/skeleton-ui/pull/8).

## [1.0.1](https://github.com/space-code/skeleton-ui/releases/tag/1.0.1)
Released on 2024-01-14.
Expand Down
6 changes: 3 additions & 3 deletions Sources/SkeletonUI/Classes/Core/SkeletonConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public enum SkeletonConstants {
/// Default gradient for the skeleton view.
public static let gradient: Gradient = .init(
stops: [
.init(color: .black.opacity(.opacity), location: 0.8),
.init(color: .black, location: 0.9),
.init(color: .black.opacity(.opacity), location: 1.0),
.init(color: .gray.opacity(.opacity), location: 0.8),
.init(color: .gray, location: 0.9),
.init(color: .gray.opacity(.opacity), location: 1.0),
]
)
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea76704

Please sign in to comment.