Auto-add COMMIT if building from git repo #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: phpspy_test | |
on: [push, pull_request] | |
jobs: | |
phpspy_test_job: | |
runs-on: ubuntu-22.04 | |
env: | |
TERM: xterm | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: deps | |
run: | | |
sudo apt-get install -y php8.1-cli | |
echo "php_path:=/usr/bin/php8.1" | sudo tee config.mk | |
- name: test | |
run: make test |