Add light theme handling for anchorviz ring colors #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 pytest-mock 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 |