Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Oct 11, 2023
1 parent 5661079 commit 394f519
Showing 1 changed file with 2 additions and 47 deletions.
49 changes: 2 additions & 47 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,63 +17,16 @@ concurrency:
cancel-in-progress: true

jobs:
infra:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies & browsers
run: |
python -m pip install --upgrade pip wheel
pip install -r local-requirements.txt
pip install -e .
python setup.py bdist_wheel
python -m playwright install --with-deps
- name: Lint
run: pre-commit run --show-diff-on-failure --color=always --all-files
- name: Generate APIs
run: bash scripts/update_api.sh
- name: Verify generated API is up to date
run: git diff --exit-code

build:
name: Build
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.8, 3.9]
browser: [chromium, firefox, webkit]
include:
- os: ubuntu-latest
python-version: '3.10'
browser: chromium
- os: windows-latest
python-version: '3.10'
browser: chromium
- os: macos-latest
python-version: '3.10'
browser: chromium
- os: macos-11.0
python-version: '3.10'
browser: chromium
- os: windows-latest
python-version: '3.11'
browser: chromium
- os: macos-latest
python-version: '3.11'
browser: chromium
- os: ubuntu-latest
python-version: '3.11'
browser: chromium
- os: windows-latest
python-version: '3.11'
browser: chromium
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -88,6 +41,8 @@ jobs:
pip install -e .
python setup.py bdist_wheel
python -m playwright install --with-deps ${{ matrix.browser }}
- name: Setup upterm session
uses: lhotari/action-upterm@v1
- name: Common Tests
run: pytest tests/common --browser=${{ matrix.browser }} --timeout 90
- name: Test Reference count
Expand Down

0 comments on commit 394f519

Please sign in to comment.