Skip to content

add unit tests for baking rewards with no previous payout to test ear… #23

add unit tests for baking rewards with no previous payout to test ear…

add unit tests for baking rewards with no previous payout to test ear… #23

Workflow file for this run

name: CodeQl
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
deploy:
name: Running unit tests
runs-on: macos-14
steps:
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer'
- name: Checkout repository
uses: actions/checkout@v4.1.1
- name: Get current date
run: echo "NOW=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "swift"
- name: Test
run: xcodebuild -scheme KukaiCoreSwift -destination "platform=iOS Simulator,OS=17.2,name=iPhone 15"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:swift"