Skip to content

add details of changes in CHANGELOG #95

add details of changes in CHANGELOG

add details of changes in CHANGELOG #95

name: Build and Test
on:
push:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache maven dependencies
uses: actions/cache@v4
env:
cache-name: cache-maven-deps
with:
path: ~/.m2/repository
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: lein deps
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache maven dependencies
uses: actions/cache@v4
env:
cache-name: cache-maven-deps
with:
path: ~/.m2/repository
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: lein deps
- name: Run tests
run: lein test-all-profiles
- name: Run code coverage
run: lein cloverage
- name: Upload coverage reports
uses: actions/upload-artifact@v4
with:
name: coverage
path: docs/coverage