Skip to content

Alexander-Ignition/XCAudit

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

XCAudit

Test SPM compatible Swift 5.3 GitHub license

Audit Xcode build logs for GitHub Actions

Example PR

test-fail

Requirements

  • Swift 5.3
  • macOS 10.15

Example Workflow

# .github/workflows/test.yml

name: Test
on:
  push:
    branches:
      - main
    tags-ignore:
      - '**'
  pull_request:
    branches:
      - '**'

jobs:
  test:
    name: Run tests
    runs-on: macOS-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Install xcaudit
        uses: Alexander-Ignition/XCAudit@main
      - name: Build and test
        run: swift test --enable-code-coverage --disable-automatic-resolution 2>&1 | xcaudit
        shell: bash

License

MIT