Skip to content

feat: rm leiningen #316

feat: rm leiningen

feat: rm leiningen #316

Workflow file for this run

name: PR Flow
on:
pull_request:
branches: [ master ]
env:
TEST_REPORT_JUNIT_XML_OUTPUT_DIR: target/surefire-reports
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: latest
- name: Install dependencies
run: clojure -P
- name: Compile Java
run: clojure -T:build compile-java
- name: Coverage
run: clojure -M:coverage
- name: Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./target/coverage/codecov.json
- name: Run Java Tests
run: clojure -T:pom && mvn test --batch-mode --fail-at-end
- name: Unit tests in Clojure
run: clojure -M:test
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Unit Tests
path: target/surefire-reports/*.xml
reporter: java-junit