Skip to content

Commit

Permalink
use more of makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
erdos committed Jul 21, 2024
1 parent 72c2669 commit 967c01f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pr_flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./target/coverage/codecov.json
- name: Unit tests in Clojure
run: make clj-test
- name: Unit tests in Java
run: make java-test
- name: Run unit tests
run: make clj-test java-test
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/pr_visual_flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@ jobs:
uses: DeLaGuardo/[email protected]
with:
cli: latest
- name: Install dependencies
run: clojure -P
- name: Compile Java
run: clojure -T:build compile-java
- name: Test Clojure
run: clojure -M:test --focus stencil.visual-test
run: make visual-test
- name: Archive diff png
uses: actions/upload-artifact@v3
if: failure()
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@ compile: clean prepare
clj-test: clean compile
clojure -M:test

java-test: clean compile
java-test: clean
clojure -T:build java-test

visual-test: clean compile
clojure -M:test --focus stencil.visual-test

coverage: clean prepare compile
clojure -M:coverage

test: clean prepare compile clj-test java-test
test: clean prepare compile clj-test java-test visual-test

all: clean compile lint test

0 comments on commit 967c01f

Please sign in to comment.