diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5569269..1ae29e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,8 @@ name: Run Tests -on: [push, pull_request] +on: + - push + - pull_request jobs: tests: @@ -49,3 +51,23 @@ jobs: - name: Check Dialyzer run: mix dialyzer + + - name: Check 3D Picking example + run: | + cd examples/3d_picking + mix deps.get + mix compile --warnings-as-errors + mix credo --strict + mix format --check-formatted + mix dialyzer + cd ../.. + + - name: Check Scale Rectangle example + run: | + cd examples/scale_rectangle + mix deps.get + mix compile --warnings-as-errors + mix credo --strict + mix format --check-formatted + mix dialyzer + cd ../..