group install steps
This commit is contained in:
parent
6f6d90fad7
commit
6193d80e2a
|
@ -1,7 +1,9 @@
|
||||||
#/bin/bash
|
#/bin/bash
|
||||||
|
echo "::group::Install Python apps"
|
||||||
pip3 install nose mock
|
pip3 install nose mock
|
||||||
|
|
||||||
pip3 install -e python_apps/airtime_analyzer/.
|
pip3 install -e python_apps/airtime_analyzer/.
|
||||||
pip3 install -e python_apps/airtime-celery/.
|
pip3 install -e python_apps/airtime-celery/.
|
||||||
pip3 install -e python_apps/api_clients/.
|
pip3 install -e python_apps/api_clients/.
|
||||||
pip3 install -e python_apps/pypo/.
|
pip3 install -e python_apps/pypo/.
|
||||||
|
echo "::endgroup::"
|
||||||
|
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
- 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.5'
|
||||||
- name: Setup PostgreSQL
|
- name: Setup PostgreSQL
|
||||||
run: |
|
run: |
|
||||||
sudo systemctl start postgresql.service
|
sudo systemctl start postgresql.service
|
||||||
|
@ -70,11 +70,13 @@ jobs:
|
||||||
run: sudo ./.github/scripts/install-xenial.sh
|
run: sudo ./.github/scripts/install-xenial.sh
|
||||||
- name: Run Python tests
|
- name: Run Python tests
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade pip
|
pip3 install --upgrade pip
|
||||||
sudo ./.github/scripts/python-pkg-install.sh
|
sudo ./.github/scripts/python-pkg-install.sh
|
||||||
./.github/scripts/python-pkg-test.sh
|
./.github/scripts/python-pkg-test.sh
|
||||||
- name: Run PHP tests
|
- name: Run PHP tests
|
||||||
run: |
|
run: |
|
||||||
|
echo "::group::Install PHP dependencies"
|
||||||
composer install --no-progress --dev
|
composer install --no-progress --dev
|
||||||
|
echo "::endgroup::"
|
||||||
cd airtime_mvc/tests
|
cd airtime_mvc/tests
|
||||||
php ../../vendor/bin/phpunit
|
php ../../vendor/bin/phpunit
|
||||||
|
|
Loading…
Reference in New Issue