File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 9
9
patterns :
10
10
- " *"
11
11
12
- - package-ecosystem : " pip "
12
+ - package-ecosystem : " uv "
13
13
directory : " /"
14
14
schedule :
15
15
interval : " weekly"
Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@v4
17
- - uses : astral-sh/setup-uv@v5
18
- with :
19
- version : " 0.5.x"
17
+ - uses : astral-sh/setup-uv@v6
20
18
- run : |
21
19
uv run ruff check .
22
20
27
25
python-version : ["3.8", "3.9", "3.10", "3.11"]
28
26
steps :
29
27
- uses : actions/checkout@v4
30
- - uses : astral-sh/setup-uv@v5
31
- with :
32
- version : " 0.5.x"
28
+ - uses : astral-sh/setup-uv@v6
33
29
- run : uv run pytest
34
30
env :
35
31
UV_PYTHON : ${{ matrix.python-version }}
57
53
- run : |
58
54
deno check src/higlass/widget.js
59
55
56
+ Schema :
57
+ name : JS viewconf validation with generated JSON Schema
58
+ runs-on : ubuntu-latest
59
+ steps :
60
+ - uses : actions/checkout@v4
61
+ - uses : astral-sh/setup-uv@v6
62
+ - run : |
63
+ uv run --package higlass-schema higlass-schema export > schema.json
64
+ - uses : actions/setup-node@v4
65
+ with :
66
+ node-version : ' 20.x'
67
+ - run : npm install -g ajv-cli
68
+ - run : ajv validate --spec=draft2020 -s schema.json -d "packages/higlass-schema/tests/fixtures/{docs/examples/viewconfs,test/{view-configs,view-configs-more}}/*.json"
69
+
60
70
Release :
61
71
needs : [Lint, Test]
62
72
runs-on : ubuntu-latest
66
76
contents : read
67
77
steps :
68
78
- uses : actions/checkout@v4
69
- - uses : astral-sh/setup-uv@v5
70
- with :
71
- version : " 0.5.x"
79
+ - uses : astral-sh/setup-uv@v6
72
80
- run : uv build
73
81
- name : Publish distribution 📦 to PyPI
74
82
uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments