Adding back Bionic test
This commit is contained in:
parent
bbb909a467
commit
277297e3ba
|
@ -10,37 +10,37 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# test-bionic:
|
test-bionic:
|
||||||
# runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.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.6'
|
python-version: '3.6'
|
||||||
# - name: Setup PostgreSQL
|
- name: Setup PostgreSQL
|
||||||
# run: |
|
run: |
|
||||||
# sudo systemctl start postgresql.service
|
sudo systemctl start postgresql.service
|
||||||
# pg_isready
|
pg_isready
|
||||||
# sudo -u postgres psql -c 'CREATE DATABASE libretime;'
|
sudo -u postgres psql -c 'CREATE DATABASE libretime;'
|
||||||
# sudo -u postgres psql -c "CREATE USER libretime WITH PASSWORD '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 'GRANT CONNECT ON DATABASE libretime TO libretime;'
|
||||||
# sudo -u postgres psql -c 'ALTER USER libretime CREATEDB;'
|
sudo -u postgres psql -c 'ALTER USER libretime CREATEDB;'
|
||||||
# - 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.2'
|
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
|
||||||
# - 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
|
||||||
# cd airtime_mvc/tests
|
cd airtime_mvc/tests
|
||||||
# sudo bash ../../vendor/bin/phpunit
|
sudo bash ../../vendor/bin/phpunit
|
||||||
test-xenial:
|
test-xenial:
|
||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-16.04
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue