Просмотр исходного кода

ci(elixir): use `MIX_ENV` profiles for machine boot checks

With the change to using `MIX_ENV` for choosing a profile, the CI
check became out of date.
Thales Macedo Garitezi 3 лет назад
Родитель
Сommit
d93977ccd3
1 измененных файлов с 8 добавлено и 11 удалено
  1. 8 11
      .github/workflows/elixir_apps_check.yaml

+ 8 - 11
.github/workflows/elixir_apps_check.yaml

@@ -13,14 +13,11 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        release_type:
-          - cloud
-        package_type:
-          - bin
-          - pkg
-        edition_type:
-          - community
-          - enterprise
+        profile:
+          - emqx
+          - emqx-enterprise
+          - emqx-pkg
+          - emqx-enterprise-pkg
 
     steps:
       - name: fix_git_permission
@@ -36,11 +33,11 @@ jobs:
           git config --global --add safe.directory "$GITHUB_WORKSPACE"
       - name: check applications
         run: ./scripts/check-elixir-applications.exs
+        env:
+          MIX_ENV: ${{ matrix.profile }}
       - name: check applications started with emqx_machine
         run: ./scripts/check-elixir-emqx-machine-boot-discrepancies.exs
         env:
-          EMQX_RELEASE_TYPE: ${{ matrix.release_type }}
-          EMQX_PACKAGE_TYPE: ${{ matrix.package_type }}
-          EMQX_EDITION_TYPE: ${{ matrix.edition_type }}
+          MIX_ENV: ${{ matrix.profile }}
 
 ...