Removing Postgre, Xenial from testing

This commit is contained in:
Zachary Klosko 2020-12-11 12:25:06 -05:00
parent 85e1f29ea4
commit 25904e164f
2 changed files with 14 additions and 21 deletions

View File

@ -26,14 +26,7 @@ apt-get install -y gstreamer1.0-plugins-base \
php \
php-curl \
php-gd \
php-pgsql \
postgresql \
postgresql-client
php-pgsql
# Creating database for testing
systemctl restart postgres
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;'
# Making directory; not sure why...
mkdir -p /tmp/log/libretime

View File

@ -22,15 +22,15 @@ jobs:
- run: sudo composer install
- run: sudo bash ./.github/scripts/python-pkg-install.sh
- run: 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
# 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