Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Oct 9, 2023
1 parent 3399931 commit b2cdc9b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/smoke-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
if: ${{ github.event_name != 'push' && !inputs.record_snapshots }}
if: ${{ github.event_name != 'push' && inputs.record_snapshots == false }}
steps:
- uses: actions/[email protected]
with:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
name: Test LLC (Debug)
runs-on: macos-13
needs: build-test-app-and-frameworks
if: !inputs.record_snapshots
if: ${{ inputs.record_snapshots == false }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
Expand Down Expand Up @@ -147,9 +147,9 @@ jobs:
~/Library/Logs/scan
fastlane/test_output/snapshots
- run: bundle exec fastlane remove_snapshots only_unchanged:true scheme:StreamVideoSwiftUI
if: inputs.record_snapshots
if: ${{ inputs.record_snapshots == true }}
- uses: actions/upload-artifact@v3
if: inputs.record_snapshots
if: ${{ inputs.record_snapshots == true }}
with:
name: SwiftUI Snapshots
path: StreamVideoSwiftUITests/**/__Snapshots__/**/*.png
Expand Down Expand Up @@ -182,9 +182,9 @@ jobs:
~/Library/Logs/scan
fastlane/test_output/snapshots
- run: bundle exec fastlane remove_snapshots only_unchanged:true scheme:StreamVideoUIKit
if: inputs.record_snapshots
if: ${{ inputs.record_snapshots == true }}
- uses: actions/upload-artifact@v3
if: inputs.record_snapshots
if: ${{ inputs.record_snapshots == true }}
with:
name: UIKit Snapshots
path: StreamVideoUIKitTests/**/__Snapshots__/**/*.png
Expand All @@ -193,7 +193,7 @@ jobs:
name: Build Demo Apps
runs-on: macos-13
needs: build-test-app-and-frameworks
if: ${{ github.event_name != 'push' && !inputs.record_snapshots }}
if: ${{ github.event_name != 'push' && inputs.record_snapshots == false }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
Expand All @@ -213,7 +213,7 @@ jobs:
test-e2e-debug:
name: Test E2E UI (Debug)
runs-on: macos-13
if: ${{ github.event_name != 'push' && !inputs.record_snapshots }}
if: ${{ github.event_name != 'push' && inputs.record_snapshots == false }}
needs:
- allure_testops_launch
- build-test-app-and-frameworks
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
allure_testops_launch:
name: Launch Allure TestOps
runs-on: macos-13
if: ${{ github.event_name != 'push' && !inputs.record_snapshots }}
if: ${{ github.event_name != 'push' && inputs.record_snapshots == false }}
outputs:
launch_id: ${{ steps.get_launch_id.outputs.launch_id }}
steps:
Expand Down

0 comments on commit b2cdc9b

Please sign in to comment.