Skip to content

Commit

Permalink
[test] Add phx1_7 test app
Browse files Browse the repository at this point in the history
Remove old phx1_6 test app and associated patches
from this branch since Phx 1.7 will now be required
  • Loading branch information
cpjolicoeur committed Feb 28, 2023
1 parent 7de169c commit 7c7b69d
Show file tree
Hide file tree
Showing 75 changed files with 1,688 additions and 952 deletions.
9 changes: 4 additions & 5 deletions bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,13 @@ echo "[DEBUG] Current Elixir Version: $iexCurrentVersion"
otpCurrentVersion="$(erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell | sed 's/\"//g')"
echo "[DEBUG] Current OTP Version: $otpCurrentVersion"


requiredMinVersion="22"
requiredMinVersion="24"
if [ "$(printf '%s\n' "$requiredMinVersion" "$otpCurrentVersion" | sort -Vr | head -n1)" = "$requiredMinVersion" ]; then
echo '[Skipping] OTP 22+ is required for Phoenix 1.6+'
echo '[Skipping] OTP 24+ is required for Phoenix 1.7+'
else
cd "$TEST_ROOT/support/apps/phx1_6" && {
cd "$TEST_ROOT/support/apps/phx1_7" && {
bin/test || {
echo 'Integration tests on regular Phoenix 1.6 project failed!'
echo 'Integration tests on regular Phoenix 1.7 project failed!'
exit 1
}
}
Expand Down
5 changes: 0 additions & 5 deletions test/support/apps/phx1_6/.formatter.exs

This file was deleted.

120 changes: 0 additions & 120 deletions test/support/apps/phx1_6/assets/css/app.css

This file was deleted.

101 changes: 0 additions & 101 deletions test/support/apps/phx1_6/assets/css/phoenix.css

This file was deleted.

49 changes: 0 additions & 49 deletions test/support/apps/phx1_6/config/prod.exs

This file was deleted.

3 changes: 0 additions & 3 deletions test/support/apps/phx1_6/lib/phx1_6/mailer.ex

This file was deleted.

Loading

0 comments on commit 7c7b69d

Please sign in to comment.