From a42ee8d102e88cf4279a8b5e6d5889e9aa27e9fb Mon Sep 17 00:00:00 2001 From: Goldilocks97 Date: Mon, 1 Jul 2024 15:23:56 +0300 Subject: [PATCH] SNP-1649 configure git actions to run tests --- .github/workflows/swift-test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/swift-test.yml diff --git a/.github/workflows/swift-test.yml b/.github/workflows/swift-test.yml new file mode 100644 index 0000000..e4bbf0a --- /dev/null +++ b/.github/workflows/swift-test.yml @@ -0,0 +1,22 @@ +name: Swift Test + +on: [push] + +jobs: + build: + runs-on: macos-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Swift + uses: swift-actions/setup-swift@v2 + with: + swift-version: '5.9' + + - name: Build + run: swift build + + - name: Build and run tests + run: swift test