-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 891 Bytes
/
Copy pathvalidate.yml
File metadata and controls
37 lines (29 loc) · 891 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
name: Validate
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"
- name: Install test environment
run: python -m pip install -e '.[test,design]'
- name: Run repository and behavior tests
run: python -m pytest -q
- name: Compile Python sources
run: python -m compileall -q scripts mcp-server tests reverse-engineer
- name: Check shell syntax
run: |
bash -n test-corpus/download_all.sh
bash -n scripts/install_pre_commit_hook.sh