Skip to content

Merge pull request #6 from alta/ydnar/linux-tests #6

Merge pull request #6 from alta/ydnar/linux-tests

Merge pull request #6 from alta/ydnar/linux-tests #6

Workflow file for this run

name: Test
on:
push:
branches:
- main
paths:
- ".github/workflows/test.yaml"
- ".gitmodules"
- "**.swift"
- "Package.resolved"
pull_request:
paths:
- ".github/workflows/test.yaml"
- ".gitmodules"
- "**.swift"
- "Package.resolved"
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Test
run: swift test
- name: Generate release build
run: swift build -c release