-
Notifications
You must be signed in to change notification settings - Fork 196
42 lines (36 loc) · 1.03 KB
/
test-clojure.yml
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
39
40
41
42
name: Test Math
on:
push:
branches: ["dev", "504-clj-tests"]
# Note: Only configured for client-admin right now.
paths:
- .github/workflows/test-clojure.yml
- math/**
pull_request:
types: ["opened", "reopened", "synchronize"]
paths:
- .github/workflows/test-clojure.yml
- math/**
jobs:
test-clj:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prepare java
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 16.0.2
- name: Install Clojure tooling
uses: DeLaGuardo/[email protected]
with:
cli: 1.10.1.693
- name: Run Clojure tests with coverage
working-directory: math
# Runs all except integration tests which require database and setup/teardown
run: "clojure -M:test --coverage"
- name: Upload coverage reports
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: math/target/coverage