From 8ad2b7340a41d1ec61a14b4b4c0bd51632ecfbfd Mon Sep 17 00:00:00 2001 From: Hishara Weerasinghe Date: Fri, 27 Dec 2024 06:40:37 +0000 Subject: [PATCH] Created actions for tests --- .github/workflows/swift.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/swift.yml diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml new file mode 100644 index 0000000..66d90d5 --- /dev/null +++ b/.github/workflows/swift.yml @@ -0,0 +1,20 @@ +# This workflow will build a Swift project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift + +name: Swift + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Run tests + run: swift test -v