From eab35b02793a9f429e329d685e383728ff4e34c9 Mon Sep 17 00:00:00 2001 From: Shiryel Date: Mon, 26 Aug 2024 19:39:13 -0300 Subject: [PATCH] chore: improve CI --- .github/workflows/test.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5569269..b2c8481 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 chedo --scrict + 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 chedo --scrict + mix format --check-formatted + mix dialyzer + cd ../..