Replace build.sh with make to manage airtime_mvc

This commit is contained in:
jo 2021-09-11 04:45:07 +02:00
parent f161fb0e0a
commit 9a7c3e0d21
6 changed files with 45 additions and 43 deletions

View file

@ -84,18 +84,12 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-
- name: Install dependencies
run: |
composer install --no-progress --dev
working-directory: airtime_mvc
- name: Run PHP tests
- name: Run tests
run: |
sudo mkdir -p "$LIBRETIME_LOG_DIR"
sudo chown runner:runner "$LIBRETIME_LOG_DIR"
php ../vendor/bin/phpunit
working-directory: airtime_mvc/tests
make test
working-directory: airtime_mvc
test:
runs-on: ubuntu-latest