-
-
Notifications
You must be signed in to change notification settings - Fork 331
50 lines (48 loc) · 1.61 KB
/
check.yml
File metadata and controls
50 lines (48 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: check
on:
push:
branches:
- main
pull_request:
branches:
- "*"
schedule:
- cron: "0 0 * * 0"
jobs:
test-python-coverage:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "python-{0}"
# Retries needed because GitHub workers sometimes lag enough to crash parallel workers
run-cmd: "hatch test --parallel --cover --retries 10"
lint-python:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "python-{0}"
run-cmd: "hatch fmt src/reactpy --check && hatch run python:type_check"
test-python:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "python-{0} {1}"
run-cmd: "hatch test --parallel --retries 10"
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
python-version: '["3.11", "3.12", "3.13", "3.14"]'
test-documentation:
# Temporarily disabled while we transition from Sphinx to MkDocs
# https://github.com/reactive-python/reactpy/pull/1052
if: 0
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "python-{0}"
run-cmd: "hatch run docs:check"
python-version: '["3.11"]'
test-javascript:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "{1}"
run-cmd: "hatch run javascript:test"
lint-javascript:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "{1}"
run-cmd: "hatch run javascript:check"