This commit is contained in:
Zachary Klosko 2020-12-18 11:23:21 -05:00
parent 277297e3ba
commit 1476b69abc
1 changed files with 5 additions and 4 deletions

View File

@ -29,18 +29,19 @@ jobs:
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: '7.2' php-version: '7.2'
- run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
- name: Install prerequisites - name: Install prerequisites
run: sudo bash ./.github/scripts/install-bionic.sh run: |
ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
sudo bash ./.github/scripts/install-bionic.sh
- name: Run Python tests - name: Run Python tests
run: | run: |
sudo bash ./.github/scripts/python-pkg-install.sh sudo bash ./.github/scripts/python-pkg-install.sh
sudo bash ./.github/scripts/python-pkg-test.sh sudo bash ./.github/scripts/python-pkg-test.sh
- name: Run PHP tests - name: Run PHP tests
run: | run: |
composer install --no-progress composer install --no-progress --dev
cd airtime_mvc/tests cd airtime_mvc/tests
sudo bash ../../vendor/bin/phpunit php ../../vendor/bin/phpunit
test-xenial: test-xenial:
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
steps: steps: