From 9ef163ab31364cdc35db7e7602b670002b190320 Mon Sep 17 00:00:00 2001 From: Robin Lieb Date: Fri, 23 Feb 2024 16:08:17 +0100 Subject: [PATCH] ci: add build and test pipeline --- .github/workflows/ci.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..abce8a5 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,19 @@ +name: Swift Build and Test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: swift build -v + - name: Run tests + run: swift test -v \ No newline at end of file