From d4aef0e6fc2008399f0d15b362f2f2229d185e06 Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Thu, 25 Feb 2021 19:12:07 +0600 Subject: [PATCH 1/9] initial draft for github action --- .github/workflow.yaml | 85 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .github/workflow.yaml diff --git a/.github/workflow.yaml b/.github/workflow.yaml new file mode 100644 index 00000000..d6f98f40 --- /dev/null +++ b/.github/workflow.yaml @@ -0,0 +1,85 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: AMQP + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-20.04, macos-latest, windows-latest] + python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy3'] + exclude: + - os: macos-latest + python-version: 3.6, 3.7 + - os: windows-latest + python-version: 3.6, 3.7 + # additional service containers to run + services: + # postgres service + rabbitmq: + # docker hub image + image: rabbitmq + # configure the instance + env: + RABBITMQ_DEFAULT_USER: craiga + RABBITMQ_DEFAULT_PASS: security_is_important + ports: + - 5432:5432 + # set health checks to wait until service has started + options: >- + -- healthcheck_cmd = /bin/bash -c 'rabbitmq-diagnostics ping -q' + -- healthcheck_interval = 10 + -- healthcheck_timeout = 10 + -- healthcheck_retries = 30 + -- healthcheck_start_period = 5 + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Get pip cache dir + id: pip-cache + run: | + echo "::set-output name=dir::$(pip cache dir)" + - name: Cache + uses: actions/cache@v2 + with: + path: ${{ steps.pip-cache.outputs.dir }} + key: + ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }} + restore-keys: | + ${{ 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 + - name: Run Unit test with tox-docker + run: | + PYTHONPATH=. pytest -xv --cov=celery --cov-report=xml --cov-report term t/unit + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos + flags: unittests # optional + fail_ci_if_error: true # optional (default = false) + verbose: true # optional (default = false) \ No newline at end of file From 2ed9a87034029379f375267fcac3981668430ae5 Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Thu, 25 Feb 2021 19:17:31 +0600 Subject: [PATCH 2/9] adjust commands --- .github/workflow.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflow.yaml b/.github/workflow.yaml index d6f98f40..65dba19e 100644 --- a/.github/workflow.yaml +++ b/.github/workflow.yaml @@ -37,11 +37,11 @@ jobs: - 5432:5432 # set health checks to wait until service has started options: >- - -- healthcheck_cmd = /bin/bash -c 'rabbitmq-diagnostics ping -q' - -- healthcheck_interval = 10 - -- healthcheck_timeout = 10 - -- healthcheck_retries = 30 - -- healthcheck_start_period = 5 + --healthcheck_cmd = /bin/bash -c 'rabbitmq-diagnostics ping -q' + --healthcheck_interval = 10 + --healthcheck_timeout = 10 + --healthcheck_retries = 30 + --healthcheck_start_period = 5 steps: - uses: actions/checkout@v2 From 3aa750ee2d7a8bd4a7ffe7d77e65b368e2f357eb Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Thu, 25 Feb 2021 19:20:40 +0600 Subject: [PATCH 3/9] added env var --- .github/workflow.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflow.yaml b/.github/workflow.yaml index 65dba19e..ca4e3065 100644 --- a/.github/workflow.yaml +++ b/.github/workflow.yaml @@ -9,6 +9,9 @@ on: pull_request: branches: [ master ] +env: + GITHUB_WORKFLOW: true + jobs: build: From b0fdd93c3e4250c304905264f828df6911cdb968 Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Thu, 25 Feb 2021 20:34:36 +0600 Subject: [PATCH 4/9] moved file and some adjustment --- .github/workflow.yaml | 16 +++--- .github/workflows/workflow.yaml | 88 +++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/workflow.yaml diff --git a/.github/workflow.yaml b/.github/workflow.yaml index ca4e3065..a870de24 100644 --- a/.github/workflow.yaml +++ b/.github/workflow.yaml @@ -19,13 +19,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, macos-latest, windows-latest] + os: [ubuntu-20.04, macos-latest] python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy3'] exclude: - os: macos-latest python-version: 3.6, 3.7 - - os: windows-latest - python-version: 3.6, 3.7 + #- os: windows-latest + # python-version: 3.6, 3.7 # additional service containers to run services: # postgres service @@ -40,11 +40,11 @@ jobs: - 5432:5432 # set health checks to wait until service has started options: >- - --healthcheck_cmd = /bin/bash -c 'rabbitmq-diagnostics ping -q' - --healthcheck_interval = 10 - --healthcheck_timeout = 10 - --healthcheck_retries = 30 - --healthcheck_start_period = 5 + --health_cmd = /bin/bash -c 'rabbitmq-diagnostics ping -q' + --health_interval = 10 + --health_timeout = 10 + --health_retries = 30 + --health_start_period = 5 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml new file mode 100644 index 00000000..ca4e3065 --- /dev/null +++ b/.github/workflows/workflow.yaml @@ -0,0 +1,88 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: AMQP + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + GITHUB_WORKFLOW: true + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-20.04, macos-latest, windows-latest] + python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy3'] + exclude: + - os: macos-latest + python-version: 3.6, 3.7 + - os: windows-latest + python-version: 3.6, 3.7 + # additional service containers to run + services: + # postgres service + rabbitmq: + # docker hub image + image: rabbitmq + # configure the instance + env: + RABBITMQ_DEFAULT_USER: craiga + RABBITMQ_DEFAULT_PASS: security_is_important + ports: + - 5432:5432 + # set health checks to wait until service has started + options: >- + --healthcheck_cmd = /bin/bash -c 'rabbitmq-diagnostics ping -q' + --healthcheck_interval = 10 + --healthcheck_timeout = 10 + --healthcheck_retries = 30 + --healthcheck_start_period = 5 + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Get pip cache dir + id: pip-cache + run: | + echo "::set-output name=dir::$(pip cache dir)" + - name: Cache + uses: actions/cache@v2 + with: + path: ${{ steps.pip-cache.outputs.dir }} + key: + ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }} + restore-keys: | + ${{ 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 + - name: Run Unit test with tox-docker + run: | + PYTHONPATH=. pytest -xv --cov=celery --cov-report=xml --cov-report term t/unit + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos + flags: unittests # optional + fail_ci_if_error: true # optional (default = false) + verbose: true # optional (default = false) \ No newline at end of file From a29059781fd6c573677365fe6e27ddaff1217e56 Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Thu, 25 Feb 2021 20:39:26 +0600 Subject: [PATCH 5/9] moved file and some adjustment --- .github/workflow.yaml | 88 ------------------------------------------- 1 file changed, 88 deletions(-) delete mode 100644 .github/workflow.yaml diff --git a/.github/workflow.yaml b/.github/workflow.yaml deleted file mode 100644 index a870de24..00000000 --- a/.github/workflow.yaml +++ /dev/null @@ -1,88 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: AMQP - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -env: - GITHUB_WORKFLOW: true - -jobs: - build: - - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-20.04, macos-latest] - python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy3'] - exclude: - - os: macos-latest - python-version: 3.6, 3.7 - #- os: windows-latest - # python-version: 3.6, 3.7 - # additional service containers to run - services: - # postgres service - rabbitmq: - # docker hub image - image: rabbitmq - # configure the instance - env: - RABBITMQ_DEFAULT_USER: craiga - RABBITMQ_DEFAULT_PASS: security_is_important - ports: - - 5432:5432 - # set health checks to wait until service has started - options: >- - --health_cmd = /bin/bash -c 'rabbitmq-diagnostics ping -q' - --health_interval = 10 - --health_timeout = 10 - --health_retries = 30 - --health_start_period = 5 - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Get pip cache dir - id: pip-cache - run: | - echo "::set-output name=dir::$(pip cache dir)" - - name: Cache - uses: actions/cache@v2 - with: - path: ${{ steps.pip-cache.outputs.dir }} - key: - ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }} - restore-keys: | - ${{ 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 - - name: Run Unit test with tox-docker - run: | - PYTHONPATH=. pytest -xv --cov=celery --cov-report=xml --cov-report term t/unit - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos - flags: unittests # optional - fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) \ No newline at end of file From 8fa4c1e3aadf0843fca017f7529332b0f1fc9eb0 Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Thu, 25 Feb 2021 20:52:59 +0600 Subject: [PATCH 6/9] docker option --- .github/workflow.yaml | 88 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 .github/workflow.yaml diff --git a/.github/workflow.yaml b/.github/workflow.yaml new file mode 100644 index 00000000..19e2388a --- /dev/null +++ b/.github/workflow.yaml @@ -0,0 +1,88 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: AMQP + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + GITHUB_WORKFLOW: true + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-20.04, macos-latest] + python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy3'] + exclude: + - os: macos-latest + python-version: 3.6, 3.7 + #- os: windows-latest + # python-version: 3.6, 3.7 + # additional service containers to run + services: + # postgres service + rabbitmq: + # docker hub image + image: rabbitmq + # configure the instance + env: + RABBITMQ_DEFAULT_USER: craiga + RABBITMQ_DEFAULT_PASS: security_is_important + ports: + - 5432:5432 + # set health checks to wait until service has started + options: >- + --health_cmd = "rabbitmq-diagnostics ping -q" + --health_interval = 10 + --health_timeout = 10 + --health_retries = 30 + --health_start_period = 5 + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Get pip cache dir + id: pip-cache + run: | + echo "::set-output name=dir::$(pip cache dir)" + - name: Cache + uses: actions/cache@v2 + with: + path: ${{ steps.pip-cache.outputs.dir }} + key: + ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }} + restore-keys: | + ${{ 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 + - name: Run Unit test with tox-docker + run: | + PYTHONPATH=. pytest -xv --cov=celery --cov-report=xml --cov-report term t/unit + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos + flags: unittests # optional + fail_ci_if_error: true # optional (default = false) + verbose: true # optional (default = false) \ No newline at end of file From dc35face537240b4968e072307526e7a076d3349 Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Thu, 25 Feb 2021 23:06:50 +0600 Subject: [PATCH 7/9] adjustment --- .github/workflow.yaml | 88 --------------------------------- .github/workflows/workflow.yaml | 18 +++---- 2 files changed, 9 insertions(+), 97 deletions(-) delete mode 100644 .github/workflow.yaml diff --git a/.github/workflow.yaml b/.github/workflow.yaml deleted file mode 100644 index 19e2388a..00000000 --- a/.github/workflow.yaml +++ /dev/null @@ -1,88 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: AMQP - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -env: - GITHUB_WORKFLOW: true - -jobs: - build: - - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-20.04, macos-latest] - python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy3'] - exclude: - - os: macos-latest - python-version: 3.6, 3.7 - #- os: windows-latest - # python-version: 3.6, 3.7 - # additional service containers to run - services: - # postgres service - rabbitmq: - # docker hub image - image: rabbitmq - # configure the instance - env: - RABBITMQ_DEFAULT_USER: craiga - RABBITMQ_DEFAULT_PASS: security_is_important - ports: - - 5432:5432 - # set health checks to wait until service has started - options: >- - --health_cmd = "rabbitmq-diagnostics ping -q" - --health_interval = 10 - --health_timeout = 10 - --health_retries = 30 - --health_start_period = 5 - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Get pip cache dir - id: pip-cache - run: | - echo "::set-output name=dir::$(pip cache dir)" - - name: Cache - uses: actions/cache@v2 - with: - path: ${{ steps.pip-cache.outputs.dir }} - key: - ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }} - restore-keys: | - ${{ 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 - - name: Run Unit test with tox-docker - run: | - PYTHONPATH=. pytest -xv --cov=celery --cov-report=xml --cov-report term t/unit - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos - flags: unittests # optional - fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) \ No newline at end of file diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index ca4e3065..fd3dc2b2 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -19,13 +19,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, macos-latest, windows-latest] + os: [ubuntu-20.04, macos-latest] python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy3'] exclude: - os: macos-latest python-version: 3.6, 3.7 - - os: windows-latest - python-version: 3.6, 3.7 + #- os: windows-latest + # python-version: 3.6, 3.7 # additional service containers to run services: # postgres service @@ -40,11 +40,11 @@ jobs: - 5432:5432 # set health checks to wait until service has started options: >- - --healthcheck_cmd = /bin/bash -c 'rabbitmq-diagnostics ping -q' - --healthcheck_interval = 10 - --healthcheck_timeout = 10 - --healthcheck_retries = 30 - --healthcheck_start_period = 5 + --health_cmd = "rabbitmq-diagnostics ping -q" + --health_interval = 10 + --health_timeout = 10 + --health_retries = 30 + --health_start_period = 5 steps: - uses: actions/checkout@v2 @@ -85,4 +85,4 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos flags: unittests # optional fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) \ No newline at end of file + verbose: true # optional (default = false) From 4ed1b3c5cde8b450b81ca0ed7a128bdbb26a25bd Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Sun, 28 Feb 2021 11:50:53 +0600 Subject: [PATCH 8/9] djustments --- .github/workflows/workflow.yaml | 12 ++++++------ requirements/test-ci.txt | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index fd3dc2b2..defea8c1 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -39,12 +39,12 @@ jobs: ports: - 5432:5432 # set health checks to wait until service has started - options: >- - --health_cmd = "rabbitmq-diagnostics ping -q" - --health_interval = 10 - --health_timeout = 10 - --health_retries = 30 - --health_start_period = 5 + #options: >- + # --health_cmd = "rabbitmq-diagnostics ping -q" + # --health_interval = 10 + # --health_timeout = 10 + # --health_retries = 30 + # --health_start_period = 5 steps: - uses: actions/checkout@v2 diff --git a/requirements/test-ci.txt b/requirements/test-ci.txt index 1d1a0241..0588540f 100644 --- a/requirements/test-ci.txt +++ b/requirements/test-ci.txt @@ -1,4 +1,3 @@ pytest-cov codecov -pytest-travis-fold pytest-xdist From ca55637aa24b56076194185c2fdcb4a0c8900a85 Mon Sep 17 00:00:00 2001 From: "Asif Saif Uddin (Auvi)" Date: Sun, 28 Feb 2021 12:43:45 +0600 Subject: [PATCH 9/9] adjustments --- .github/workflows/workflow.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index defea8c1..4a994892 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