Explicitly compile for dev and test in CI

This commit is contained in:
Claudio Ortolina
2025-10-16 09:40:23 +01:00
parent aa31b8349a
commit aef2e18d9e
+14
View File
@@ -62,6 +62,20 @@ jobs:
run: mix deps.get run: mix deps.get
- name: 📦 Check unused dependencies - name: 📦 Check unused dependencies
run: mix deps.unlock --check-unused run: mix deps.unlock --check-unused
- name: 🔮 Compile for DEV
run: mix compile
env:
MIX_ENV: dev
# Half the number of available cores
# See https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
MIX_OS_DEPS_COMPILE_PARTITION_COUNT: 2
- name: 🔮 Compile for TEST
run: mix compile
env:
MIX_ENV: test
# Half the number of available cores
# See https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
MIX_OS_DEPS_COMPILE_PARTITION_COUNT: 2
- name: 🌍 Check translations - name: 🌍 Check translations
run: mix gettext.extract --check-up-to-date run: mix gettext.extract --check-up-to-date
- name: 💅 Check formatting - name: 💅 Check formatting