Skip to content

Commit

Permalink
Merge pull request #6 from Mobelux/refactor/release-prep/3-ci
Browse files Browse the repository at this point in the history
Test Workflow
  • Loading branch information
mgacy authored Dec 4, 2023
2 parents 066d7ff + bd9c15f commit 41d4a36
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Tests

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review

jobs:
unit_tests:
if: github.event.pull_request.draft == false
name: Run Tests
runs-on: macos-13

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build
run: swift build

- name: Run tests
run: swift test

0 comments on commit 41d4a36

Please sign in to comment.