From bcdfedf4a6237575acd37c43651404c6b1a400da Mon Sep 17 00:00:00 2001 From: Jacob Emcken Date: Fri, 10 Jan 2025 00:07:30 +0100 Subject: [PATCH] Add GitHub action for running tests --- .github/workflows/clojure.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/clojure.yml diff --git a/.github/workflows/clojure.yml b/.github/workflows/clojure.yml new file mode 100644 index 0000000..d1a6879 --- /dev/null +++ b/.github/workflows/clojure.yml @@ -0,0 +1,26 @@ +name: Clojure CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Clojure tools + uses: DeLaGuardo/setup-clojure@13.0 + with: + lein: 2.11.2 + + - name: Install dependencies + run: lein deps + + - name: Run tests + run: lein test