Skip to content

Commit a10445f

Browse files
authored
Merge pull request #55 from lambdaisland/joannecheng/update-gh-actions
add gh actions
2 parents 2bfcfe4 + 7617045 commit a10445f

File tree

5 files changed

+98
-52
lines changed

5 files changed

+98
-52
lines changed

.circleci/config.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
name: Continuous Delivery
2+
3+
on: push
4+
5+
jobs:
6+
Kaocha:
7+
runs-on: ${{matrix.sys.os}}
8+
9+
strategy:
10+
matrix:
11+
sys:
12+
# - { os: macos-latest, shell: bash }
13+
- { os: ubuntu-latest, shell: bash }
14+
# - { os: windows-latest, shell: powershell }
15+
16+
defaults:
17+
run:
18+
shell: ${{matrix.sys.shell}}
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
23+
- name: 🔧 Install java
24+
uses: actions/setup-java@v1
25+
with:
26+
java-version: '25'
27+
28+
- name: 🔧 Install clojure
29+
uses: DeLaGuardo/setup-clojure@master
30+
with:
31+
cli: '1.12.3.1577'
32+
33+
- name: 🗝 maven cache
34+
uses: actions/cache@v4
35+
with:
36+
path: |
37+
~/.m2
38+
~/.gitlibs
39+
key: ${{ runner.os }}-maven-${{ github.sha }}
40+
restore-keys: |
41+
${{ runner.os }}-maven-
42+
43+
- name: 🧪 Run tests
44+
run: bin/kaocha
45+
46+
Codecov:
47+
runs-on: ${{matrix.sys.os}}
48+
49+
strategy:
50+
matrix:
51+
sys:
52+
# - { os: macos-latest, shell: bash }
53+
- { os: ubuntu-latest, shell: bash }
54+
# - { os: windows-latest, shell: powershell }
55+
56+
defaults:
57+
run:
58+
shell: ${{matrix.sys.shell}}
59+
60+
steps:
61+
- uses: actions/checkout@v2
62+
63+
- name: 🔧 Install java
64+
uses: actions/setup-java@v1
65+
with:
66+
java-version: '25'
67+
68+
- name: 🔧 Install clojure
69+
uses: DeLaGuardo/setup-clojure@master
70+
with:
71+
cli: '1.12.3.1577'
72+
73+
- name: 🗝 maven cache
74+
uses: actions/cache@v4
75+
with:
76+
path: |
77+
~/.m2
78+
~/.gitlibs
79+
key: ${{ runner.os }}-maven-${{ github.sha }}
80+
restore-keys: |
81+
${{ runner.os }}-maven-
82+
83+
- name: 🧪 Generate codecov
84+
run: bin/kaocha --plugin cloverage --codecov
85+
86+
- name: Upload to codecov
87+
uses: codecov/codecov-action@v5
88+
with:
89+
#fail_ci_if_error: true
90+
name: codecov-report
91+
files: target/coverage/codecov.json
92+
token: ${{ secrets.CODECOV_TOKEN }}
93+
slug: lambdaisland/kaocha-cljs
94+
verbose: true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ nashorn_code_cache
99
out
1010
.store
1111
.temp
12+
.lsp/
13+
.clj-kondo/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# kaocha-cljs
22

33
<!-- badges -->
4-
[![CircleCI](https://circleci.com/gh/com.lambdaisland/kaocha-cljs.svg?style=svg)](https://circleci.com/gh/com.lambdaisland/kaocha-cljs) [![cljdoc badge](https://cljdoc.org/badge/com.lambdaisland/kaocha-cljs)](https://cljdoc.org/d/com.lambdaisland/kaocha-cljs) [![Clojars Project](https://img.shields.io/clojars/v/com.lambdaisland/kaocha-cljs.svg)](https://clojars.org/com.lambdaisland/kaocha-cljs)
4+
[![GitHub Actions](https://github.com/com.lambdaisland/kaocha-cljs/actions/workflows/main.yml/badge.svg)](https://github.com/com.lambdaisland/kaocha-cljs/actions/workflows/main.yml) [![cljdoc badge](https://cljdoc.org/badge/com.lambdaisland/kaocha-cljs)](https://cljdoc.org/d/com.lambdaisland/kaocha-cljs) [![Clojars Project](https://img.shields.io/clojars/v/com.lambdaisland/kaocha-cljs.svg)](https://clojars.org/com.lambdaisland/kaocha-cljs)
55
<!-- /badges -->
66

77
ClojureScript support for Kaocha

bb.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{:deps
22
{lambdaisland/open-source {:git/url "https://github.com/lambdaisland/open-source"
3-
:git/sha "8c77e20f6188a30cfcc50c64afb86fa89a9dcb47"}}}
3+
:git/sha "e0e234aea52aeafac6ebb06c4a5149d83977e6a0"}}}

0 commit comments

Comments
 (0)