Skip to content

Commit

Permalink
Merge pull request #141 from metosin/gha
Browse files Browse the repository at this point in the history
run tests via github actions
  • Loading branch information
opqdonut authored Mar 15, 2024
2 parents 9b29d9b + a516230 commit 73b42a5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 13 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
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit 73b42a5

Please sign in to comment.