Skip to content

Commit

Permalink
Update and rename main.yml to test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbaird authored Dec 19, 2023
1 parent fc1dc35 commit 46c263b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/main.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test

on:
push:
branches:
- main
paths:
- ".github/workflows/test.yml"
- "**/*.swift"
pull_request:
paths:
- ".github/workflows/test.yml"
- "**/*.swift"

jobs:
test:
if: '!github.event.pull_request.merged'
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: swift-actions/setup-swift@v1
- name: Check Swift Version
run: swift --version
- name: Run Tests
run: swift test -v

0 comments on commit 46c263b

Please sign in to comment.