summaryrefslogtreecommitdiff
path: root/.github/workflows/workflow.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/workflow.yaml')
-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