Skip to content

Commit 5fe8918

Browse files
committed
Add diagnose tests to CI
This was not transferred in the move to GitHub Actions as CI. Fixes #189
1 parent 119bbc0 commit 5fe8918

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ jobs:
2121
- name: "Run tests"
2222
run: "hatch -v run test.py$(echo ${{ matrix.python-version }} | tr -d '.'):pytest"
2323

24+
diagnose-test:
25+
name: "Diagnose tests"
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: actions/setup-python@v5
30+
with:
31+
python-version: 3.12
32+
- name: "Install hatch"
33+
run: "pip install hatch"
34+
- name: "Init Git submodules"
35+
run: "git submodule init"
36+
- name: "Update Git submodules"
37+
run: "git submodule update"
38+
- name: "Run diagnose tests"
39+
run: "./tests/diagnose/bin/test"
40+
2441
lint-style:
2542
name: "Style linter"
2643
runs-on: ubuntu-latest
@@ -29,6 +46,10 @@ jobs:
2946
- uses: actions/setup-python@v5
3047
with:
3148
python-version: 3.12
49+
- uses: ruby/setup-ruby@v1
50+
with:
51+
ruby-version: "3.3"
52+
bundler-cache: true
3253
- name: "Install hatch"
3354
run: "pip install hatch"
3455
- name: "Run style linter"

0 commit comments

Comments
 (0)