Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@Thavarshan Thavarshan released this 15 Feb 05:57
· 15 commits to main since this release

Added

  • GitHub Actions CI/CD Integration: Added workflows for running automated tests and verifying PHPVM functionality on macOS and Linux.
  • Linux Compatibility: Implemented Homebrew mock support to allow testing on both macOS and Linux environments.
  • Extended Test Suite: Improved BATS test coverage to handle different system environments and dependencies.

Changed

  • Improved Homebrew Detection: The script now properly checks for Homebrew availability and handles missing installations more gracefully.
  • Refactored Test Setup: The setup function in test_phpvm.bats now ensures correct sourcing of phpvm.sh and mocks Homebrew on Linux.
  • Better Error Messages: Adjusted error outputs for clarity when Homebrew or PHP versions are unavailable.

Fixed

  • Fixed Ubuntu Compatibility Issues: The tests no longer fail due to missing Homebrew; instead, they mock Homebrew behavior on Linux.
  • Resolved Test Failures: The install_php, use_php_version, and auto_switch_php_version tests now properly execute across different OS platforms.
  • Prevented Test Cleanup Failures: The teardown function now ensures .phpvmrc and other temporary files are removed only if they exist.

Full Changelog: 1.1.0...1.2.0