feat: rm leiningen #321
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Unit tests in Clojure | |
run: clojure -M:test | |
- name: Run Java Tests | |
run: clojure -T:build java-test | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Unit Tests | |
path: target/surefire-reports/*.xml | |
reporter: java-junit |