-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (39 loc) · 1.42 KB
/
Copy pathci.yml
File metadata and controls
49 lines (39 loc) · 1.42 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
name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
cache: pip
cache-dependency-path: requirements-dev.txt
- name: Install Python dependencies
run: python3 -m pip install -r requirements-dev.txt
- name: Install Gitleaks v8.24.2
shell: bash
run: |
curl --fail --location --silent --show-error \
https://github.com/gitleaks/gitleaks/releases/download/v8.24.2/gitleaks_8.24.2_linux_x64.tar.gz \
| sudo tar --extract --gzip --file=- --directory=/usr/local/bin gitleaks
gitleaks version
- name: Run unit tests
run: |
python3 -m unittest discover -s tests -p 'test_*.py' -v
python3 -m unittest discover -s .agents/skills/task-board/tests -p 'test_*.py' -v
python3 -m unittest discover -s .agents/skills/task-plan/tests -p 'test_*.py' -v
python3 -m unittest discover -s .agents/skills/plan-go/tests -p 'test_*.py' -v
- name: Check repository context
run: scripts/check-context.sh
- name: Check publication safety
run: scripts/check-publication.sh
- name: Check for secrets
run: scripts/check-secrets.sh