Skip to content

Commit fcd40a8

Browse files
committed
[nop] Update project template
1 parent 6c521b7 commit fcd40a8

File tree

4 files changed

+43
-14
lines changed

4 files changed

+43
-14
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
1-
name: Main tests
1+
name: Clj tests
22
on: [push, pull_request]
33

44
jobs:
55
tests:
66
strategy:
77
matrix:
8-
java: ['17', '18', '19']
8+
java: ['17', '19', '21']
99
os: [ubuntu-latest]
10-
1110
runs-on: ${{ matrix.os }}
1211
steps:
1312
- uses: actions/checkout@v4
1413
- uses: actions/setup-java@v4
1514
with:
1615
distribution: 'corretto'
1716
java-version: ${{ matrix.java }}
18-
1917
- uses: DeLaGuardo/[email protected]
2018
with:
2119
lein: latest
22-
2320
- uses: actions/cache@v4
2421
id: cache-deps
2522
with:
2623
path: ~/.m2/repository
2724
key: deps-${{ hashFiles('project.clj') }}
2825
restore-keys: deps-
29-
30-
- run: lein test-all
26+
- run: lein test-clj

.github/workflows/cljs-tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Cljs tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
tests:
6+
strategy:
7+
matrix:
8+
java: ['21']
9+
os: [ubuntu-latest]
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-java@v4
14+
with:
15+
distribution: 'corretto'
16+
java-version: ${{ matrix.java }}
17+
- uses: DeLaGuardo/[email protected]
18+
with:
19+
lein: latest
20+
- uses: actions/cache@v4
21+
id: cache-deps
22+
with:
23+
path: ~/.m2/repository
24+
key: deps-${{ hashFiles('project.clj') }}
25+
restore-keys: deps-
26+
- run: lein test-cljs

.github/workflows/graal-tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Graal tests
22
on: [push, pull_request]
33

44
jobs:
5-
test:
5+
tests:
66
strategy:
77
matrix:
88
java: ['17']
@@ -26,7 +26,11 @@ jobs:
2626
- uses: actions/cache@v4
2727
with:
2828
path: ~/.m2/repository
29-
key: deps-${{ hashFiles('deps.edn') }}
29+
key: deps-${{ hashFiles('project.clj') }}
3030
restore-keys: deps-
3131

32-
- run: bb graal-tests
32+
- name: Run Graal tests
33+
run: bb graal-tests
34+
35+
# - name: Run Babashka tests
36+
# run: bb bb-tests

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Use it alone, or as part of a suite of complementary **observability tools** for
2525
- `2025-04-30` `v3.0.0-RC1`: [release info](../../releases/tag/v3.0.0-RC1) (improved [Telemere](https://www.taoensso.com/telemere) interop, much more)
2626
- `2025-04-15` `v2.7.0`: [release info](../../releases/tag/v2.7.0)
2727

28-
[![Main tests][Main tests SVG]][Main tests URL]
28+
[![Clj tests][Clj tests SVG]][Clj tests URL]
29+
[![Cljs tests][Cljs tests SVG]][Cljs tests URL]
2930
[![Graal tests][Graal tests SVG]][Graal tests URL]
3031

3132
See [here][GitHub releases] for earlier releases.
@@ -107,7 +108,9 @@ Licensed under [EPL 1.0](LICENSE.txt) (same as Clojure).
107108
[Clojars SVG]: https://img.shields.io/clojars/v/com.taoensso/tufte.svg
108109
[Clojars URL]: https://clojars.org/com.taoensso/tufte
109110

110-
[Main tests SVG]: https://github.com/taoensso/tufte/actions/workflows/main-tests.yml/badge.svg
111-
[Main tests URL]: https://github.com/taoensso/tufte/actions/workflows/main-tests.yml
111+
[Clj tests SVG]: https://github.com/taoensso/tufte/actions/workflows/clj-tests.yml/badge.svg
112+
[Clj tests URL]: https://github.com/taoensso/tufte/actions/workflows/clj-tests.yml
113+
[Cljs tests SVG]: https://github.com/taoensso/tufte/actions/workflows/cljs-tests.yml/badge.svg
114+
[Cljs tests URL]: https://github.com/taoensso/tufte/actions/workflows/cljs-tests.yml
112115
[Graal tests SVG]: https://github.com/taoensso/tufte/actions/workflows/graal-tests.yml/badge.svg
113-
[Graal tests URL]: https://github.com/taoensso/tufte/actions/workflows/graal-tests.yml
116+
[Graal tests URL]: https://github.com/taoensso/tufte/actions/workflows/graal-tests.yml

0 commit comments

Comments
 (0)