Changing dependencies
This commit is contained in:
parent
537ceed683
commit
7bad165ade
|
@ -23,13 +23,13 @@ apt-get install -y gstreamer1.0-plugins-base \
|
|||
python-cairo \
|
||||
pkg-config \
|
||||
libcairo2-dev \
|
||||
php7.2-curl \
|
||||
php7.2-gd \
|
||||
php7.2-pgsql \
|
||||
php7.2-apcu \
|
||||
php7.2-bcmath \
|
||||
php7.2-mbstring \
|
||||
php7.2-pear
|
||||
php-curl \
|
||||
php-gd \
|
||||
php-pgsql \
|
||||
php-apcu \
|
||||
php-bcmath \
|
||||
php-mbstring \
|
||||
php-pear
|
||||
|
||||
# Making directory; not sure why...
|
||||
mkdir -p /tmp/log/libretime
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
- name: Setup PHP with specific version
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '7.0'
|
||||
php-version: '7.2'
|
||||
- run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||
- name: Install prerequisites
|
||||
run: sudo bash ./.github/scripts/install-bionic.sh
|
||||
|
@ -41,14 +41,32 @@ jobs:
|
|||
sudo bash ./.github/scripts/python-pkg-install.sh
|
||||
sudo bash ./.github/scripts/python-pkg-test.sh
|
||||
# test-xenial:
|
||||
# runs-on: ubuntu-16.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions/setup-python@v2
|
||||
# with:
|
||||
# python-version: '3.5'
|
||||
# - run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||
# - run: sudo bash ./.github/scripts/install.sh
|
||||
# - run: sudo composer install
|
||||
# - run: sudo bash ./.github/scripts/python-pkg-install.sh
|
||||
# - run: sudo bash ./.github/scripts/python-pkg-test.sh
|
||||
# runs-on: ubuntu-16.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions/setup-python@v2
|
||||
# with:
|
||||
# python-version: '3.5'
|
||||
# - name: Setup PostgreSQL
|
||||
# run: |
|
||||
# sudo systemctl start postgresql.service
|
||||
# pg_isready
|
||||
# sudo -u postgres psql -c 'CREATE DATABASE libretime;'
|
||||
# sudo -u postgres psql -c "CREATE USER libretime WITH PASSWORD 'libretime';"
|
||||
# sudo -u postgres psql -c 'GRANT CONNECT ON DATABASE libretime TO libretime;'
|
||||
# sudo -u postgres psql -c 'ALTER USER libretime CREATEDB;'
|
||||
# - name: Setup PHP with specific version
|
||||
# uses: shivammathur/setup-php@v2
|
||||
# with:
|
||||
# php-version: '7.0'
|
||||
# - run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||
# - name: Install prerequisites
|
||||
# run: sudo bash ./.github/scripts/install-xenial.sh
|
||||
# - name: Run PHP tests
|
||||
# run: |
|
||||
# sudo composer install
|
||||
# cd airtime_mvc/tests && sudo bash ../../vendor/bin/phpunit && cd ../..
|
||||
# - name: Run Python tests
|
||||
# run: |
|
||||
# sudo bash ./.github/scripts/python-pkg-install.sh
|
||||
# sudo bash ./.github/scripts/python-pkg-test.sh
|
Loading…
Reference in New Issue