From f65cd06d7de9ef6b9ea3e8670727fef9225b406b Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Wed, 8 Jan 2025 22:34:33 -0500 Subject: [PATCH] chore: Revert "chore: Switch Elixir tests back to pipes" This partially reverts commit 765272c3dfa487dfd94658fef668df83f062e536 by restoring the file-based solution. Signed-off-by: Austin Ziegler --- .github/workflows/elixir.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 64d8ca5..d5475bb 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -95,12 +95,18 @@ jobs: - run: mix test working-directory: ./elixir + # Using MIX_QUIET=1 should work for this, except that with older versions + # of Elixir and OTP (OTP 25 or earlier), there's a persistent truncation + # of the output as the generator VM shuts down before stdout is complete + # which is not exhibited with Mix shell write but is exhibited with IO + # write. - run: | - mix app_identity generate --stdout | - mix app_identity run --diagnostic --stdin --strict + # mix app_identity generate --stdout | + # mix app_identity run --diagnostic --stdin --strict + mix app_identity generate + mix app_identity run --diagnostic --strict app-identity-suite-elixir.json + rm -f app-identity-suite-elixir.json working-directory: ./elixir - env: - MIX_QUIET: 1 - run: mix credo --strict working-directory: ./elixir