forked from k2n/saml20-clj
-
Notifications
You must be signed in to change notification settings - Fork 12
47 lines (42 loc) · 1.05 KB
/
tests.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
43
44
45
46
47
name: Tests
on:
push:
pull_request:
jobs:
Test-Java-11:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup
with:
java-version: 11
cache-key: "test"
- run: clojure -X:dev:test
Test-Java-17:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup
with:
java-version: 17
cache-key: "test"
- run: clojure -X:dev:test
Cloverage:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup
with:
java-version: 11
cache-key: "cloverage"
- run: clojure -X:dev:cloverage
- name: Upload code coverage to codecov.io
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: target/coverage/codecov.json
flags: cloverage
name: codecov-umbrella