Skip to content

Commit 842956d

Browse files
authored
ci(hex): install phx_new before publish test runs
Align Hex publish workflows with CI library_tests so InstallFixture can run mix phx.new.
1 parent 20b9ccb commit 842956d

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/hex-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ jobs:
5959
mix local.hex --force
6060
mix local.rebar --force
6161
62+
# Matches library_tests in ci.yml: InstallFixture shells out to mix phx.new.
63+
- name: Install phx_new archive
64+
run: mix archive.install --force hex phx_new
65+
6266
- name: Verify release version in mix.exs
6367
run: grep -n "@version \"${{ inputs.release_version }}\"" mix.exs
6468

.github/workflows/release-please.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ jobs:
8787
mix local.hex --force
8888
mix local.rebar --force
8989
90+
# Matches library_tests in ci.yml: InstallFixture shells out to mix phx.new.
91+
- name: Install phx_new archive
92+
run: mix archive.install --force hex phx_new
93+
9094
- name: Fetch library deps
9195
run: mix deps.get
9296

0 commit comments

Comments
 (0)