Closed BrianHenryIE closed 2 years ago
Dammit, tests working locally on MacOS and not on GitHub Actions!
Syntax differences between tar
on different systems?
I needed to use php_uname( 's' )
to test for Linux because tar
's syntax and flags differ between MacOS and Linux.
tar
's --anchored
is not available on MacOS.
On MacOS tar
, to anchor, exclusions are written beginning with ^
regex character.
Thanks @BrianHenryIE, appreciate your work on this.
I'll review this at depth when I have some time in the near future.
This is tests and fixes for PRs #58 and #59.
The tests for 58 were relevant to those needed for 59. The code in 59 fixed some of the issue in 58.
Closes #57 and #47.
PHPUnit tests are added to this repo for the first time and should be helpful for work that might be done on #15 and #44.