@@ -62,56 +62,56 @@ jobs:
6262 source .venv/bin/activate
6363 pytest --headless
6464
65- test-dash2 :
66- runs-on : ubuntu-latest
67- strategy :
68- matrix :
69- python-version : ["3.12"]
70- steps :
71- - name : Checkout code
72- uses : actions/checkout@v3
73-
74- - name : Set up Python
75- uses : actions/setup-python@v3
76- with :
77- python-version : ${{ matrix.python-version }}
78-
79- - name : ' Setup Chrome and chromedriver'
80- uses : nanasess/setup-chromedriver@v2
81- - name : ' Setup chromedriver environment'
82- run : |
83- export DISPLAY=:99
84- chromedriver --url-base=/wd/hub &
85- - name : Start XVFB
86- run : Xvfb :99 &
87-
88- - name : Setup uv
89- run : |
90- curl -LsSf https://astral.sh/uv/install.sh | sh
91- uv venv
92-
93- - name : Install dependencies
94- run : |
95- source .venv/bin/activate
96- uv pip install --upgrade pip
97- uv pip install wheel
98- uv pip install ".[dev]"
99- uv pip install dash<3
100- - name : Build package
101- run : |
102- source .venv/bin/activate
103- npm ci
104- npm i
105- npm run build
106- timeout-minutes : 20
107-
108- - name : Lint
109- run : npm run lint
110-
111- - name : Run tests
112- run : |
113- source .venv/bin/activate
114- pytest --headless
65+ test-dash2 :
66+ runs-on : ubuntu-latest
67+ strategy :
68+ matrix :
69+ python-version : ["3.12"]
70+ steps :
71+ - name : Checkout code
72+ uses : actions/checkout@v3
73+
74+ - name : Set up Python
75+ uses : actions/setup-python@v3
76+ with :
77+ python-version : ${{ matrix.python-version }}
78+
79+ - name : ' Setup Chrome and chromedriver'
80+ uses : nanasess/setup-chromedriver@v2
81+ - name : ' Setup chromedriver environment'
82+ run : |
83+ export DISPLAY=:99
84+ chromedriver --url-base=/wd/hub &
85+ - name : Start XVFB
86+ run : Xvfb :99 &
87+
88+ - name : Setup uv
89+ run : |
90+ curl -LsSf https://astral.sh/uv/install.sh | sh
91+ uv venv
92+
93+ - name : Install dependencies
94+ run : |
95+ source .venv/bin/activate
96+ uv pip install --upgrade pip
97+ uv pip install wheel
98+ uv pip install ".[dev]"
99+ uv pip install dash<3
100+ - name : Build package
101+ run : |
102+ source .venv/bin/activate
103+ npm ci
104+ npm i
105+ npm run build
106+ timeout-minutes : 20
107+
108+ - name : Lint
109+ run : npm run lint
110+
111+ - name : Run tests
112+ run : |
113+ source .venv/bin/activate
114+ pytest --headless
115115
116116 test-react :
117117 runs-on : ubuntu-latest
0 commit comments