summaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
authorAsko Nomm <asko@bien.ee>2022-04-07 12:45:34 +0200
committerAsko Nomm <asko@bien.ee>2022-04-07 12:45:34 +0200
commit5aea1a232f57cd0ea7e732fde9a6a623c0ce297e (patch)
tree508b30e191e1cdc7066ec3595846af0585699bbd /.github/workflows/tests.yml
parentba7a4eaa4e22e9d2213d5911cc275b3a7f702376 (diff)
Add test workflow.
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
new file mode 100644
index 0000000..937395a
--- /dev/null
+++ b/.github/workflows/tests.yml
@@ -0,0 +1,31 @@
+name: Tests
+on:
+ push:
+ branches:
+ - master
+ workflow_dispatch:
+ branches:
+ - master
+jobs:
+ run-tests:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+
+ - name: Prepare java
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'zulu'
+ java-version: '17'
+
+ - name: Install clojure tools
+ uses: DeLaGuardo/setup-clojure@4.0
+ with:
+ lein: 'latest'
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: "Run tests"
+ run: lein test