Skip to content
This repository was archived by the owner on Mar 6, 2022. It is now read-only.

Maestro is adding Github Actions #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,19 @@ jobs:
uses: "ramsey/composer-install@v1"
with:
composer-options: "--no-scripts"
-
name: "Install Watchman"
run: |
wget https://github.com/facebook/watchman/releases/download/v2020.09.14.00/watchman-v2020.09.14.00-linux.zip
unzip watchman-v2020.09.14.00-linux.zip
sudo mkdir -p /usr/local/{bin,lib} /usr/local/var/run/watchman
sudo mv watchman-v2020.09.14.00-linux/bin/watchman /usr/local/bin/watchman
sudo mv watchman-v2020.09.14.00-linux/lib/* /usr/local/lib/
sudo chmod 755 /usr/local/bin/watchman
sudo chmod 2777 /usr/local/var/run/watchman
-
name: "Install Inotify"
run: sudo apt-get -y install inotify-tools fswatch
-
name: "Run PHPUnit"
run: "vendor/bin/phpunit"