-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (34 loc) · 1.06 KB
/
Copy pathquality.yml
File metadata and controls
44 lines (34 loc) · 1.06 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
name: Course quality gates
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: course-quality-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
name: Validate ${{ matrix.os }} / Python ${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python: ["3.12", "3.14"]
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python }}
- name: Validate course structure and links
run: python scripts/validate_repo.py
- name: Compile validator
run: python -m py_compile scripts/validate_repo.py
- name: Verify controlled CI demo
working-directory: examples/actions/demo
run: python -m unittest discover -s tests -v
- name: Verify Git conflict and reflog behavior
run: python scripts/smoke_git_behaviors.py