diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..a0cde39 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,22 @@ +name: Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + +jobs: + test: + name: Swift Tests + runs-on: macos-15 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run tests + run: swift test diff --git a/README.md b/README.md index 61668b2..460578b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # xpt -![Version](https://img.shields.io/badge/version-0.3.2-blue) ![Platform](https://img.shields.io/badge/platform-macOS%2013%2B-lightgrey) ![Swift](https://img.shields.io/badge/swift-6.1-orange) ![License](https://img.shields.io/badge/license-MIT-green) +![Version](https://img.shields.io/badge/version-0.3.2-blue) ![Platform](https://img.shields.io/badge/platform-macOS%2013%2B-lightgrey) ![Swift](https://img.shields.io/badge/swift-6.1-orange) ![License](https://img.shields.io/badge/license-MIT-green) ![Tests](https://github.com/coveloper/xpt/actions/workflows/tests.yml/badge.svg) Save and restore per-branch Xcode breakpoints automatically.