Skip to content

Commit

Permalink
ci: github actions test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
opqdonut committed Mar 15, 2024
1 parent 3865410 commit a516230
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build-clj:
strategy:
matrix:
jdk: [8, 11, 17, 21]

name: Clojure (Java ${{ matrix.jdk }})

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup Java ${{ matrix.jdk }}
uses: actions/[email protected]
with:
distribution: zulu
java-version: ${{ matrix.jdk }}
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
lein: 2.9.4
- name: Run tests
run: lein test

0 comments on commit a516230

Please sign in to comment.