Skip to content

Commit

Permalink
disable UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Dec 11, 2024
1 parent 9835198 commit 5239942
Showing 1 changed file with 62 additions and 65 deletions.
127 changes: 62 additions & 65 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ jobs:
matrix:
os:
- ubuntu-latest
# FIXME
# Building panel from source on Windows does not work through pip
# - windows-latest
- windows-latest
- macos-latest
python-version: ["3.10"]
include:
Expand Down Expand Up @@ -81,65 +79,64 @@ jobs:
uses: pmeier/[email protected]
with:
path: test-results.xml

pytest-ui:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
browser:
- chromium
- firefox
python-version:
- "3.10"
- "3.10"
- "3.12"
exclude:
- python-version: "3.11"
os: windows-latest
- python-version: "3.12"
os: windows-latest
- python-version: "3.11"
os: macos-latest
- python-version: "3.12"
os: macos-latest
include:
- browser: webkit
os: macos-latest
python-version: "3.10"

fail-fast: false

runs-on: ${{ matrix.os }}

defaults:
run:
shell: bash -el {0}

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup environment
uses: ./.github/actions/setup-env
with:
python-version: ${{ matrix.python-version }}

- name: Run unit tests
id: tests
run: |
pytest tests/deploy/ui \
--browser ${{ matrix.browser }} \
--video=retain-on-failure
- name: Upload playwright video
if: failure()
uses: actions/upload-artifact@v4
with:
name:
playwright-${{ matrix.os }}-${{ matrix.python-version}}-${{ github.run_id }}
path: test-results
# pytest-ui:
# strategy:
# matrix:
# os:
# - ubuntu-latest
# - windows-latest
# - macos-latest
# browser:
# - chromium
# - firefox
# python-version:
# - "3.10"
# - "3.10"
# - "3.12"
# exclude:
# - python-version: "3.11"
# os: windows-latest
# - python-version: "3.12"
# os: windows-latest
# - python-version: "3.11"
# os: macos-latest
# - python-version: "3.12"
# os: macos-latest
# include:
# - browser: webkit
# os: macos-latest
# python-version: "3.10"
#
# fail-fast: false
#
# runs-on: ${{ matrix.os }}
#
# defaults:
# run:
# shell: bash -el {0}
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
#
# - name: Setup environment
# uses: ./.github/actions/setup-env
# with:
# python-version: ${{ matrix.python-version }}
#
# - name: Run unit tests
# id: tests
# run: |
# pytest tests/deploy/ui \
# --browser ${{ matrix.browser }} \
# --video=retain-on-failure
#
# - name: Upload playwright video
# if: failure()
# uses: actions/upload-artifact@v4
# with:
# name:
# playwright-${{ matrix.os }}-${{ matrix.python-version}}-${{ github.run_id }}
# path: test-results

0 comments on commit 5239942

Please sign in to comment.