Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
congzhangzh committed Nov 3, 2024
1 parent f464276 commit 0486e11
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,18 @@ jobs:
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev xvfb
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov
- name: Install dependencies (Windows)
if: runner.os == 'Windows'
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov
- name: Run tests (Linux)
Expand All @@ -58,5 +55,10 @@ jobs:
run: |
pytest tests/ --cov=webview --cov-report=xml
- name: Run tests (macOS)
if: runner.os == 'macOS'
run: |
pytest tests/ --cov=webview --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v3

0 comments on commit 0486e11

Please sign in to comment.