Skip to content

Commit

Permalink
tyring ui/playwright again
Browse files Browse the repository at this point in the history
  • Loading branch information
paddymul committed Dec 28, 2024
1 parent 8a7f1ef commit 5c46de0
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches: main
pull_request:
branches: "*"
branches: "none-never"


jobs:
build:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,32 @@ jobs:
env:
UV_PYTHON: ${{ matrix.python-version }}
- uses: codecov/codecov-action@v5
UITestPython:
needs: [TestPython]
name: Python / Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
# - "3.8" #other conflicts
- "3.9"
#- "3.10"
#- "3.11"
#- "3.12"
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: true
- uses: astral-sh/setup-uv@v4
with:
version: "0.5.x"
- name: Run tests
run: uv run playwright install chromium
run: SOLARA_TEST_RUNNERS=jupyter_lab uv run pytest tests/ui/ --video=retain-on-failure
#run: uv run --with pytest-cov pytest ./tests/ui --color=yes --cov anywidget --cov-report xml
env:
UV_PYTHON: ${{ matrix.python-version }}

# LintJavaScript:
# name: JavaScript / Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ghpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
pull_request:
branches:
- '*'
- 'none-never'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ dev-dependencies = [
"pydantic>=2.5.2",
"pyarrow",
"polars[timezone]",
"hypothesis>=6.88.1",
"nbval>=0.9"
]


Expand Down

0 comments on commit 5c46de0

Please sign in to comment.