Skip to content

#776: Add 10 second timer to show message if we can’t find results #151

#776: Add 10 second timer to show message if we can’t find results

#776: Add 10 second timer to show message if we can’t find results #151

Workflow file for this run

name: Test & Lint
on:
pull_request:
# The specific activity types are listed here to include "labeled" and "unlabeled"
# (which are not included by default for the "pull_request" trigger).
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels,
# as defined in the (optional) "skipLabels" property.
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
push:
branches: main
env:
SIMULATOR: platform=iOS Simulator,name=iPhone 14,OS=17.0.1
jobs:
unit_test:
name : Unit Tests
runs-on: macOS-13
steps:
- name: Checkout
uses: actions/checkout@main
- uses: nomasystems/[email protected]
- name: Build Nos
run: set -o pipefail && xcodebuild build-for-testing -skipPackagePluginValidation -project Nos.xcodeproj -scheme NosTests -destination "$SIMULATOR" | xcpretty
- name: Run Tests
run: set -o pipefail && xcodebuild test-without-building -project Nos.xcodeproj -scheme NosTests -destination "$SIMULATOR"
changelog:
name: Check CHANGELOG
runs-on: ubuntu-latest
steps:
- uses: dangoslen/changelog-enforcer@v3
with:
skipLabels: 'Skip-Changelog'
missingUpdateErrorMessage: 'You have not updated CHANGELOG.md. If an entry is not applicable add the Skip-Changelog label to your PR. See the top of the CHANGELOG.md for more details.'
swift_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: SwiftLint
uses: docker://norionomura/swiftlint:0.53.0
with:
args: swiftlint --strict --reporter github-actions-logging