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 \
php-curl \ php-curl \
php-gd \ php-gd \
php-pgsql \ php-pgsql
postgresql \
postgresql-client
# Creating database for testing # Making directory; not sure why...
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;'
mkdir -p /tmp/log/libretime mkdir -p /tmp/log/libretime

View File

@ -22,15 +22,15 @@ jobs:
- run: sudo composer install - run: sudo composer install
- run: sudo bash ./.github/scripts/python-pkg-install.sh - run: sudo bash ./.github/scripts/python-pkg-install.sh
- run: sudo bash ./.github/scripts/python-pkg-test.sh - run: 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 # - run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
- run: sudo bash ./.github/scripts/install.sh # - run: sudo bash ./.github/scripts/install.sh
- run: sudo composer install # - run: sudo composer install
- run: sudo bash ./.github/scripts/python-pkg-install.sh # - run: sudo bash ./.github/scripts/python-pkg-install.sh
- run: sudo bash ./.github/scripts/python-pkg-test.sh # - run: sudo bash ./.github/scripts/python-pkg-test.sh