diff --git a/.github/workflows/test-stack-reusable-workflow.yml b/.github/workflows/test-stack-reusable-workflow.yml index 7ed0bc3a..c398d1a4 100644 --- a/.github/workflows/test-stack-reusable-workflow.yml +++ b/.github/workflows/test-stack-reusable-workflow.yml @@ -23,6 +23,16 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} + - name: Build changedetection.io container for testing under Python ${{ env.PYTHON_VERSION }} + run: | + echo "---- Building for Python ${{ env.PYTHON_VERSION }} -----" + # Build a changedetection.io container and start testing inside + docker build --build-arg PYTHON_VERSION=${{ env.PYTHON_VERSION }} --build-arg LOGGER_LEVEL=TRACE -t test-changedetectionio . + # Debug info + docker run test-changedetectionio bash -c 'pip list' + + docker run test-changedetectionio bash -c 'python -v' + - name: Spin up ancillary testable services run: | @@ -35,16 +45,6 @@ jobs: docker run --network changedet-network -d -e "LOG_LEVEL=TRACE" --cap-add=SYS_ADMIN --name sockpuppetbrowser --hostname sockpuppetbrowser --rm -p 3000:3000 dgtlmoon/sockpuppetbrowser:latest docker run --network changedet-network -d -e "LOG_LEVEL=TRACE" --cap-add=SYS_ADMIN --name sockpuppetbrowser-custom-url --hostname sockpuppetbrowser-custom-url -p 3001:3000 --rm dgtlmoon/sockpuppetbrowser:latest - - name: Build changedetection.io container for testing under Python ${{ env.PYTHON_VERSION }} - run: | - echo "---- Building for Python ${{ env.PYTHON_VERSION }} -----" - # Build a changedetection.io container and start testing inside - docker build --build-arg PYTHON_VERSION=${{ env.PYTHON_VERSION }} --build-arg LOGGER_LEVEL=TRACE -t test-changedetectionio . - # Debug info - docker run test-changedetectionio bash -c 'pip list' - - docker run test-changedetectionio bash -c 'python -v' - - name: Spin up ancillary SMTP+Echo message test server run: | # Debug SMTP server/echo message back server diff --git a/requirements.txt b/requirements.txt index 93cbaee3..fbf97021 100644 --- a/requirements.txt +++ b/requirements.txt @@ -86,5 +86,5 @@ pytest-flask ~=1.2 jsonschema==4.17.3 loguru -# Needed for > 3.10 -greenlet \ No newline at end of file +# Needed for > 3.10, https://github.com/microsoft/playwright-python/issues/2096 +greenlet >= 3.0.3 \ No newline at end of file