forked from jgraph/drawio-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 998 Bytes
/
Copy pathtest-scripts.yml
File metadata and controls
41 lines (34 loc) · 998 Bytes
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
name: Test Scripts
on:
push:
branches: [main]
paths:
- "plugins/tests/**"
- "plugins/claude-code/skills/drawio/scripts/**"
- "plugins/codex/drawio/skills/drawio/scripts/**"
- "plugins/copilot/skills/drawio/scripts/**"
- ".github/workflows/test-scripts.yml"
pull_request:
paths:
- "plugins/tests/**"
- "plugins/claude-code/skills/drawio/scripts/**"
- "plugins/codex/drawio/skills/drawio/scripts/**"
- "plugins/copilot/skills/drawio/scripts/**"
- ".github/workflows/test-scripts.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
unittest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.14"]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run the test suite
run: python -m unittest discover -s plugins/tests -v