This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-ex.git


The following commit(s) were added to refs/heads/master by this push:
     new 9d84349  fix(ci): run CI in MIX_ENV=test to skip dev-only deps
9d84349 is described below

commit 9d843494b9f5ecf9d9812c5697c15027b8e8c3b7
Author: Yang Luo <[email protected]>
AuthorDate: Fri Aug 7 10:05:39 2026 +0800

    fix(ci): run CI in MIX_ENV=test to skip dev-only deps
---
 .github/workflows/ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 50e7af4..57b86c9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,6 +14,11 @@ jobs:
   test:
     name: Test
     runs-on: ubuntu-latest
+    env:
+      # Keep the whole job in :test so dev-only deps (ex_doc -> earmark_parser,
+      # git_hooks) are never compiled. earmark_parser needs leex, and the
+      # distro's erlang-nox package ships parsetools without its include/ dir.
+      MIX_ENV: test
     steps:
       - name: Checkout code
         uses: actions/checkout@v3


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to