From 6193d80e2ad2d4b22172a2ba7ccec0823716850f Mon Sep 17 00:00:00 2001 From: Kyle Robbertze Date: Fri, 21 May 2021 16:22:50 +0200 Subject: [PATCH] group install steps --- .github/scripts/python-pkg-install.sh | 2 ++ .github/workflows/test-all-Ubuntu.yml | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/scripts/python-pkg-install.sh b/.github/scripts/python-pkg-install.sh index 6b3c3ff70..55e02aeb6 100755 --- a/.github/scripts/python-pkg-install.sh +++ b/.github/scripts/python-pkg-install.sh @@ -1,7 +1,9 @@ #/bin/bash +echo "::group::Install Python apps" pip3 install nose mock pip3 install -e python_apps/airtime_analyzer/. pip3 install -e python_apps/airtime-celery/. pip3 install -e python_apps/api_clients/. pip3 install -e python_apps/pypo/. +echo "::endgroup::" diff --git a/.github/workflows/test-all-Ubuntu.yml b/.github/workflows/test-all-Ubuntu.yml index 3abe6b3ed..b79d435af 100644 --- a/.github/workflows/test-all-Ubuntu.yml +++ b/.github/workflows/test-all-Ubuntu.yml @@ -53,7 +53,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.6' + python-version: '3.5' - name: Setup PostgreSQL run: | sudo systemctl start postgresql.service @@ -70,11 +70,13 @@ jobs: run: sudo ./.github/scripts/install-xenial.sh - name: Run Python tests run: | - pip install --upgrade pip + pip3 install --upgrade pip sudo ./.github/scripts/python-pkg-install.sh ./.github/scripts/python-pkg-test.sh - name: Run PHP tests run: | + echo "::group::Install PHP dependencies" composer install --no-progress --dev + echo "::endgroup::" cd airtime_mvc/tests php ../../vendor/bin/phpunit