File tree Expand file tree Collapse file tree 1 file changed +0
-51
lines changed Expand file tree Collapse file tree 1 file changed +0
-51
lines changed Original file line number Diff line number Diff line change 62
62
source .venv/bin/activate
63
63
pytest --headless
64
64
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 dash<3
99
- uv pip install ".[dev]"
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
115
-
116
65
test-react :
117
66
runs-on : ubuntu-latest
118
67
strategy :
You can’t perform that action at this time.
0 commit comments