File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 4242
4343 - name : 🧪 Run tests
4444 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+ name : codecov-report
90+ files : target/coverage/codecov.json
91+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments