From 35e73799cb3bc2a0aa42b9b5d232261880fae852 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Sat, 24 Apr 2021 19:58:24 -0400 Subject: [PATCH] update test --- .github/workflows/test_and_deploy.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 8ad3061..4ab2004 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -29,12 +29,15 @@ jobs: - python-version: 3.9 platform: ubuntu-latest backend: pyside6 + screenshot: 1 - python-version: 3.9 platform: windows-latest backend: pyside6 + screenshot: 1 - python-version: 3.9 platform: macos-11.0 backend: pyside6 + screenshot: 1 - python-version: 3.9 platform: ubuntu-latest backend: pyqt6 @@ -96,23 +99,23 @@ jobs: uses: codecov/codecov-action@v1 - name: Install for screenshots - if: matrix.python-version == '3.9' + if: matrix.screenshot run: pip install . ${{ matrix.backend }} - name: Screenshots - if: runner.os == 'Linux' && matrix.python-version == '3.9' + if: runner.os == 'Linux' && matrix.screenshot uses: GabrielBB/xvfb-action@v1 with: run: python examples/screenshots.py - name: Screenshots - if: runner.os != 'Linux' && matrix.python-version == '3.9' + if: runner.os != 'Linux' && matrix.screenshot run: python examples/screenshots.py - uses: actions/upload-artifact@v2 - if: matrix.python-version == '3.9' + if: matrix.screenshot with: - name: screenshots ${{ matrix.platform }} ${{ matrix.backend }} + name: screenshots ${{ runner.os }} path: screenshots