diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9324cb9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: + - main + paths-ignore: + - 'README.md' + - 'LICENSE' + - '.spi.yml' + pull_request: + branches: + - main + +jobs: + test: + name: Test + runs-on: macOS-14 + steps: + - uses: actions/checkout@v4 + - name: Test + run: set -o pipefail && swift test | xcbeautify --renderer github-actions diff --git a/README.md b/README.md index 23f852b..5493b79 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Declarative Text Kit - +[![Build Status][build status badge]][build status] [![Platforms][platforms badge]][platforms] [![Documentation][documentation badge]][documentation]