Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rrudakov committed Jul 16, 2023
1 parent f8769ce commit 55eebb9
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,34 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v3

- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@3.5
uses: DeLaGuardo/setup-clojure@11.0
with:
cli: 1.10.3.986
- uses: actions/checkout@v2
cli: latest

- name: Cache clojure dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
# List all files containing dependencies:
key: cljdeps-${{ hashFiles('deps.edn') }}
restore-keys: cljdeps-

- name: Run tests and generate coverage report
run: clojure -M:test:cloverage

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit 55eebb9

Please sign in to comment.