Skip to content

fix: remove next item trigger from timed sheet manager #506

fix: remove next item trigger from timed sheet manager

fix: remove next item trigger from timed sheet manager #506

Workflow file for this run

name: unit-tests
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
if: github.event.pull_request.draft == false
name: Run Tests
runs-on: macos-15
timeout-minutes: 60
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.4'
- name: Install xcbeautify
run: |
brew install xcbeautify
- name: Cache Swift Package Manager
uses: actions/cache@v4
with:
path: |
~/Library/Caches/org.swift.swiftpm
~/Library/org.swift.swiftpm
Bitkit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
- name: Install dependencies
run: |
echo "⏱️ Starting dependency resolution at $(date)"
xcodebuild -resolvePackageDependencies -onlyUsePackageVersionsFromResolvedFile | xcbeautify
echo "✅ Dependencies resolved at $(date)"
- name: Pre-start simulator
run: |
echo "⏱️ Starting simulator at $(date)"
xcrun simctl boot "iPhone 16" || true
echo "✅ Simulator started at $(date)"
- name: Clean build
run: |
echo "⏱️ Cleaning build at $(date)"
xcodebuild clean -scheme Bitkit | xcbeautify
echo "✅ Build cleaned at $(date)"
- name: Run unit tests
run: |
echo "⏱️ Starting unit tests at $(date)"
set -o pipefail && xcodebuild test \
-scheme Bitkit \
-destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' \
-enableCodeCoverage NO \
-parallel-testing-enabled NO \
-skip-testing:BitkitTests/TxBumpingTests \
-skip-testing:BitkitTests/UtxoSelectionTests \
-skip-testing:BitkitTests/BlocktankTests \
-skip-testing:BitkitTests/PaymentFlowTests \
| xcbeautify --report junit
echo "✅ Unit tests completed at $(date)"
- name: Upload test results
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: test-results
path: ~/Library/Developer/Xcode/DerivedData/**/Logs/Test/*.xcresult