update python for conda (#303) #275
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: Playwright Tests | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, macos-12] | |
python-version: [ '3.7', '3.8', '3.9', '3.10'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '12.x' | |
- name: Install JS | |
run: | | |
npm install | |
- name: Install Python dependencies | |
run: | | |
python tools/install_pydeps.py | |
- name: Run Playwright Tests | |
run: | | |
pytest --capture=no --verbose -r A --showlocals --tb=native nbclassic/tests/end_to_end |