Skip to content

WIP: Fix CI on linux #168

WIP: Fix CI on linux

WIP: Fix CI on linux #168

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
pull_request:
types: [opened, reopened]
jobs:
test:
runs-on: macos-latest
steps:
- name: Set Xcode version
run: sudo xcode-select -s /Applications/Xcode_16.2.app
- uses: actions/checkout@v3
- name: Run tests
run: swift test -v
test-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
swift: ["6.0", "6.1"]
steps:
- uses: actions/checkout@v3
- uses: vapor/swiftly-action@v0.2
with:
toolchain: ${{ matrix.swift }}
- name: Get swift version
run: swift --version
- name: Prepare Git
run: git config --global user.email "test@example.com" && git config --global user.name "Test User"
- name: Run tests
run: swift test -v