Skip to content

Commit

Permalink
chore: Elixir 1.18 breaks pipe tests
Browse files Browse the repository at this point in the history
Also add --diagnostic to language self-tests

Signed-off-by: Austin Ziegler <[email protected]>
  • Loading branch information
halostatue committed Jan 1, 2025
1 parent ca72b3b commit 635b893
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,16 @@ jobs:
- run: mix test
working-directory: ./elixir

- run: >
mix app_identity generate --stdout |
mix app_identity run --stdin --strict
# Switched to file-basd because the pipe approach has been broken for
# Elixir 1.18
#
# See https://github.com/elixir-lang/elixir/issues/14136
- run: |
# 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
- run: mix credo --strict
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ jobs:

- run: >
bundle exec bin/app-identity-suite-ruby generate --stdout |
bundle exec bin/app-identity-suite-ruby run --stdin --strict
bundle exec bin/app-identity-suite-ruby run --diagnostic --stdin --strict
working-directory: ./ruby
2 changes: 1 addition & 1 deletion .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ jobs:
- name: self-test
run: |
pnpm --silent cli:generate --stdout |
pnpm --silent cli:run --strict --stdin
pnpm --silent cli:run --diagnostic --strict --stdin
working-directory: ./ts

0 comments on commit 635b893

Please sign in to comment.