From 87c52e97f6fa6dacb5e8016e25e05bafb01b1d78 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Wed, 30 Dec 2020 14:10:46 +0100 Subject: [PATCH] Add action to run tests --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a505bd4 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,15 @@ +name: Test + +on: + pull_request: + paths: + - '.github/workflows/test.yml' + - '**/*.swift' + +jobs: + SwiftLint: + runs-on: macos-latest + steps: + - uses: actions/checkout@v1 + - name: Run tests + run: swift test