feat: refactor function definitions in clj #359
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: Coverage | |
run: make coverage | |
- name: Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./target/coverage/codecov.json | |
- name: Run unit tests | |
run: make clj-test 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 |