-
Notifications
You must be signed in to change notification settings - Fork 36
38 lines (31 loc) · 840 Bytes
/
ci.yml
File metadata and controls
38 lines (31 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Tests
permissions:
contents: read
on: [push]
jobs:
test:
strategy:
matrix:
java-version: ["11", "17", "21"]
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Prepare java
uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: ${{ matrix.java-version }}
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@13.1
with:
cli: latest
- name: Checkout
uses: actions/checkout@v4
- name: Run tests not Windows
if: ${{ matrix.os != 'windows-latest' }}
run: clojure -X:test
shell: bash
- name: Run tests on Windows
if: ${{ matrix.os == 'windows-latest' }}
run: clojure -X:test
shell: powershell