Skip to content

Fix dependencies in github tests action #121

Fix dependencies in github tests action

Fix dependencies in github tests action #121

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
#pip install -r requirements.txt
pip install -e .
pip install pytest-playwright jupyterlab
playwright install
- name: Test with pytest
run: pytest -vv -s --tracing retain-on-failure
- name: Archive failed playwright traces
if: failure()
uses: actions/upload-artifact@v4
with:
name: traces
path: |
test-results