Switching to Github Action

This commit is contained in:
Zachary Klosko 2020-12-17 10:02:56 -05:00
parent 572a3a273c
commit b2e34e6bb1
1 changed files with 8 additions and 5 deletions

View File

@ -68,8 +68,11 @@ jobs:
pip3 install --upgrade pip
sudo bash ./.github/scripts/python-pkg-install.sh
sudo bash ./.github/scripts/python-pkg-test.sh
- name: Run PHP tests
run: |
composer install --no-progress --dev
cd airtime_mvc/tests
sudo bash ../../vendor/bin/phpunit
- name: Install PHP dependencies
run: composer install --no-progress --dev
- name: PHPUnit tests
uses: php-actions/phpunit@v1
with:
php_version: '7.0'
configuration: 'airtime_mvc/tests/phpunit.xml'
bootstrap: 'airtime_mvc/tests/application/bootstrap.php'