From 5dc37caf027f9e7096da8fffa0c46d5a228cc3c5 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Tue, 16 Jul 2024 09:59:32 +0200 Subject: [PATCH] s --- .github/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02b8b54ba4..97b9704b87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,13 +115,16 @@ jobs: matrix: python-version: ['3.8', '3.12'] db-backend: [mysql, postgres] - frontend: [false] + end-to-end: [false] include: - python-version: '3.12' - db-backend: postgres - - frontend: true + - end-to-end: true name: "Test (Python: ${{ matrix.python-version }}, DB: ${{ matrix.db-backend }})" steps: + - run: echo "Matrix - Python ${{ matrix.python-version }}, DB ${{ matrix.db-backend }} - ${{ matrix }}" + - run: echo "true" + if: matrix.end-to-end - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 @@ -173,12 +176,12 @@ jobs: # end-to-end tests - name: Install e2e tests dependencies run: playwright install chromium - if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres' + if: matrix.end-to-end - name: Run end-to-end tests run: | mkdir screenshots pytest -p randomly -p no:cacheprovider --reuse-db --numprocesses=auto --dist=loadscope -m e2e --nomigrations - if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres' + if: matrix.end-to-end env: DJANGO_DEBUG: True GITHUB_DB_BACKEND: ${{ matrix.db-backend }} @@ -186,7 +189,7 @@ jobs: with: name: screenshots path: screenshots/*.png - if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres' + if: matrix.end-to-end coveralls: name: Indicate completion to coveralls