Skip to content

Commit

Permalink
add ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett Adams committed Dec 23, 2024
1 parent ced4908 commit dd613bf
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Pull Request

on:
pull_request:
push:
branches:
- "master"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17', '21' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
cli: '1.12.0.1479'
- name: Cache All The Things
uses: actions/cache@v4
with:
path: |
~/.m2/repository
~/.gitlibs
~/.clojure
~/.cpcache
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }}
- name: Lint
run: bin/lint
- name: Run All Tests
run: clojure -M:dev:test:test-runner

0 comments on commit dd613bf

Please sign in to comment.