File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish release
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' release/**'
7+ - ' prerelease/**'
8+
9+ jobs :
10+ test-build :
11+ name : Test build
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ with :
16+ token : ${{ secrets.GH_ACCESS_TOKEN_TOM }}
17+
18+ - id : get-version
19+ run : echo "version=$(echo ${{ github.head_ref }} | sed -E 's|^(release/|prerelease/)||')" >> "$GITHUB_OUTPUT"
20+
21+ - name : Use Node 22
22+ uses : actions/setup-node@v3
23+ with :
24+ node-version : 22
25+
26+ - name : Install the latest version of uv
27+ uses : astral-sh/setup-uv@v3
28+ with :
29+ version : ' latest'
30+
31+ - name : Install just
32+ uses : extractions/setup-just@v2
33+
34+ - name : Install JS dependencies
35+ run : npm ci
36+
37+ - name : Build dash-bootstrap-components
38+ run : just build
39+
40+ - name : Run tests
41+ run : uv run --with py-dist/dash_bootstrap_components*.whl pytest --headless tests
You can’t perform that action at this time.
0 commit comments