From 828352ca117a49bfbecaabb95239f8cd2511b578 Mon Sep 17 00:00:00 2001 From: Goncalo-FradeIOHK Date: Fri, 19 Aug 2022 09:40:39 +0100 Subject: [PATCH] ci: add test workflow Fixes ATL-1642 --- .github/workflows/test.yml | 20 ++++++++++++++++++++ Package.swift | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..53919d8b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +--- +name: Test + +on: + push: + branches: + - main + pull_request: + branches: [main] + +jobs: + lint: + name: test + runs-on: macos-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Test + run: "swift test" diff --git a/Package.swift b/Package.swift index 0a3602b3..b77a15e7 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.6 +// swift-tools-version: 5.5 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription