summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsif Saif Uddin (Auvi) <auvipy@gmail.com>2021-02-28 12:43:45 +0600
committerAsif Saif Uddin (Auvi) <auvipy@gmail.com>2021-02-28 12:43:45 +0600
commitca55637aa24b56076194185c2fdcb4a0c8900a85 (patch)
treedd306f9ad752480562bec36c343971e0eb62d8cb
parent4ed1b3c5cde8b450b81ca0ed7a128bdbb26a25bd (diff)
downloadpy-amqp-ci.tar.gz
adjustmentsci
-rw-r--r--.github/workflows/workflow.yaml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml
index defea8c..4a99489 100644
--- a/.github/workflows/workflow.yaml
+++ b/.github/workflows/workflow.yaml
@@ -67,13 +67,20 @@ jobs:
${{ matrix.python-version }}-v1-
- name: Install dependencies
run: |
- python -m pip install --upgrade pip
- python -m pip install flake8 pytest case pytest-celery pytest-subtests pytest-timeout pytest-cov
- python -m pip install moto boto3 msgpack PyYAML
- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
+ python -m pip install -r requirements/default.txt \
+ -r requirements/test.txt \
+ -r requirements/test-ci.txt \
+ -r requirements/docs.txt \
+ -r requirements/pkgutils.txt
+
- name: Run Unit test with tox-docker
run: |
PYTHONPATH=. pytest -xv --cov=celery --cov-report=xml --cov-report term t/unit
+
+ - name: Run Integration test with tox-docker
+ run: |
+ PYTHONPATH=. pytest -xv -E rabbitmq t/integration
+
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names