Skip to content

Commit

Permalink
Create test-spec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
btoms20 authored Feb 7, 2024
1 parent b5efc82 commit 874238d
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Specific Manual Test

on:
workflow_dispatch:
inputs:
os:
type: choice
description: OS
options:
- ubuntu
- macos
- windows
os-version:
description: OS Version
default: latest
swift-version:
type: choice
description: Swift Version
options:
- '5.9'
- '5.8'
- '5.7'
- '5.6'
- '5.5'
- '5.4'
- '5.3'
- '5.2'
- '5.1'
- '5.0'

jobs:
test-spec:
runs-on: ${{ github.event.inputs.os }}-${{ github.event.inputs.os-version }}
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ github.event.inputs.swift-version }}
- name: Get swift version
run: swift --version
- name: Build
run: swift build -v
- name: Test
run: swift test -v

0 comments on commit 874238d

Please sign in to comment.