From e567d9061ce021b154a3aa9b98e53b70606d69ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20J?= <30n1st@gmail.com> Date: Thu, 3 Oct 2024 15:13:50 +0200 Subject: [PATCH] Create Tests.yml --- .github/workflows/Tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/Tests.yml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml new file mode 100644 index 0000000..49c94e2 --- /dev/null +++ b/.github/workflows/Tests.yml @@ -0,0 +1,22 @@ +# 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: Tests + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: swift build -v + - name: Run tests + run: swift test -v