Skip to content

Fixed restart; added run on startup #115

Fixed restart; added run on startup

Fixed restart; added run on startup #115

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build-and-test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Show Xcode version
run: |
xcodebuild -version
xcode-select -p
- name: Run unit tests (with coverage)
env:
SCHEME: singularity-CI
run: |
chmod +x ./ci-run-tests.sh
./ci-run-tests.sh
- name: Upload xcresult bundle
if: always()
uses: actions/upload-artifact@v4
with:
name: xcresult
path: build/TestResults.xcresult
- name: Upload JUnit report
if: always()
uses: actions/upload-artifact@v4
with:
name: junit
path: build/junit.xml
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v5
with:
files: build/TestResults.xcresult,**/*.xcresult
flags: macos
slug: ${{ github.repository }}
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}