File tree Expand file tree Collapse file tree 1 file changed +31
-2
lines changed
Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,41 @@ jobs:
3232 - name : Install Playwright Chromium Browser
3333 run : uv run playwright install chromium
3434
35- - name : Run Tests
35+ - name : Run Unit Tests
3636 run : uv run pytest tests/ -q --ignore=tests/integration/
3737
38+ integration-test :
39+ name : Run Integration Tests
40+ runs-on : ubuntu-latest
41+ steps :
42+ - name : Checkout code
43+ uses : actions/checkout@v4
44+
45+ - name : Install uv
46+ uses : astral-sh/setup-uv@v5
47+
48+ - name : Set up Python
49+ uses : actions/setup-python@v5
50+ with :
51+ python-version : " 3.12"
52+
53+ - name : Install system dependencies
54+ run : |
55+ sudo apt-get update
56+ sudo apt-get install -y libxml2-dev libxslt-dev python3-dev build-essential
57+
58+ - name : Install dependencies
59+ run : uv sync --all-extras --dev
60+
61+ - name : Install Playwright Chromium Browser
62+ run : uv run playwright install chromium
63+
64+ - name : Run Integration Tests
65+ run : uv run pytest tests/integration/ -q -m integration
66+
3867 build :
3968 name : Build Package
40- needs : test
69+ needs : [ test, integration-test]
4170 runs-on : ubuntu-latest
4271 steps :
4372 - name : Checkout code
You can’t perform that action at this time.
0 commit comments