Skip to content

Merge pull request #9 from Alexander-Ignition/result-columns #42

Merge pull request #9 from Alexander-Ignition/result-columns

Merge pull request #9 from Alexander-Ignition/result-columns #42

Workflow file for this run

name: Test
on:
push:
branches:
- main
tags-ignore:
- '**'
paths:
- 'Source/**'
- 'Tests/**'
- '.github/workflows/**'
- 'Package.swift'
- 'Makefile'
pull_request:
branches:
- '**'
paths:
- 'Source/**'
- 'Tests/**'
- '.github/workflows/**'
- 'Package.swift'
- 'Makefile'
jobs:
Apple:
name: Test ${{ matrix.name }}
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer
strategy:
fail-fast: false
matrix:
include:
- name: macOS
target: test-macos
- name: iOS
target: test-ios
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and test
run: make ${{ matrix.target }}
shell: bash
SPM:
name: Test with SPM
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and test
run: swift test
shell: bash
Lint:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: swift-format lint
run: make lint 2>&1 | Scripts/gh-format.swift
shell: bash