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 \
|
python-cairo \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
libcairo2-dev \
|
libcairo2-dev \
|
||||||
php7.2-curl \
|
php-curl \
|
||||||
php7.2-gd \
|
php-gd \
|
||||||
php7.2-pgsql \
|
php-pgsql \
|
||||||
php7.2-apcu \
|
php-apcu \
|
||||||
php7.2-bcmath \
|
php-bcmath \
|
||||||
php7.2-mbstring \
|
php-mbstring \
|
||||||
php7.2-pear
|
php-pear
|
||||||
|
|
||||||
# Making directory; not sure why...
|
# Making directory; not sure why...
|
||||||
mkdir -p /tmp/log/libretime
|
mkdir -p /tmp/log/libretime
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- name: Setup PHP with specific version
|
- name: Setup PHP with specific version
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '7.0'
|
php-version: '7.2'
|
||||||
- run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
- run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||||
- name: Install prerequisites
|
- name: Install prerequisites
|
||||||
run: sudo bash ./.github/scripts/install-bionic.sh
|
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-install.sh
|
||||||
sudo bash ./.github/scripts/python-pkg-test.sh
|
sudo bash ./.github/scripts/python-pkg-test.sh
|
||||||
# test-xenial:
|
# test-xenial:
|
||||||
# runs-on: ubuntu-16.04
|
# runs-on: ubuntu-16.04
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
# - uses: actions/setup-python@v2
|
# - uses: actions/setup-python@v2
|
||||||
# with:
|
# with:
|
||||||
# python-version: '3.5'
|
# python-version: '3.5'
|
||||||
# - run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
# - name: Setup PostgreSQL
|
||||||
# - run: sudo bash ./.github/scripts/install.sh
|
# run: |
|
||||||
# - run: sudo composer install
|
# sudo systemctl start postgresql.service
|
||||||
# - run: sudo bash ./.github/scripts/python-pkg-install.sh
|
# pg_isready
|
||||||
# - run: sudo bash ./.github/scripts/python-pkg-test.sh
|
# 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