Update branch name to trigger all job runs on push to main #278
Workflow file for this run
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 |