install nose
This commit is contained in:
parent
a720ad13e1
commit
29086efd9b
|
@ -1,6 +1,7 @@
|
|||
#/bin/bash
|
||||
pip3 install nose
|
||||
|
||||
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/.
|
||||
pip3 install -e python_apps/pypo/.
|
||||
|
|
|
@ -8,14 +8,14 @@ cd python_apps/airtime_analyzer
|
|||
if ! nosetests . -x; then
|
||||
failed='t'
|
||||
fi
|
||||
echo "::endgroup"
|
||||
echo "::endgroup::"
|
||||
|
||||
echo "::group::API Client"
|
||||
cd ../api_clients
|
||||
if ! nosetests . -x; then
|
||||
failed='t'
|
||||
fi
|
||||
echo "::endgroup"
|
||||
echo "::endgroup::"
|
||||
|
||||
# Reset to repo root
|
||||
cd ../..
|
||||
|
|
|
@ -14,6 +14,9 @@ jobs:
|
|||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
env:
|
||||
ENVIRONMENT: testing
|
||||
LIBRETIME_LOG_DIR: /tmp/log/libretime
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
|
@ -32,12 +35,11 @@ jobs:
|
|||
with:
|
||||
php-version: '7.2'
|
||||
- name: Install prerequisites
|
||||
run: |
|
||||
ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||
sudo bash ./.github/scripts/install-bionic.sh
|
||||
run:
|
||||
sudo ./.github/scripts/install-bionic.sh
|
||||
- name: Run Python tests
|
||||
run: |
|
||||
sudo bash ./.github/scripts/python-pkg-install.sh
|
||||
sudo ./.github/scripts/python-pkg-install.sh
|
||||
./.github/scripts/python-pkg-test.sh
|
||||
- name: Run PHP tests
|
||||
run: |
|
||||
|
@ -48,6 +50,9 @@ jobs:
|
|||
runs-on: ubuntu-16.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
env:
|
||||
ENVIRONMENT: testing
|
||||
LIBRETIME_LOG_DIR: /tmp/log/libretime
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
|
@ -66,13 +71,11 @@ jobs:
|
|||
with:
|
||||
php-version: '7.0'
|
||||
- name: Install prerequisites
|
||||
run: |
|
||||
ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||
sudo bash ./.github/scripts/install-xenial.sh
|
||||
run: sudo ./.github/scripts/install-xenial.sh
|
||||
- name: Run Python tests
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
sudo bash ./.github/scripts/python-pkg-install.sh
|
||||
sudo ./.github/scripts/python-pkg-install.sh
|
||||
./.github/scripts/python-pkg-test.sh
|
||||
- name: Run PHP tests
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue