-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (24 loc) · 810 Bytes
/
ci.yml
File metadata and controls
29 lines (24 loc) · 810 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
name: "CI"
on:
push:
pull_request:
# We don't run on PR synchronize, because that would duplicate the push-Build
types:
- opened
jobs:
python:
uses: questionpy-org/.github/.github/workflows/python-ci.yml@v10
with:
# GitHub workflow inputs do not support lists, so we pass JSON.
pytest-python-versions: '["3.12", "3.13"]'
packages: questionpy_common questionpy_server tests
lint-qppe:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
- name: Lint QPPE
working-directory: ./docs
run: npx @stoplight/spectral-cli lint -f stylish -f text -o.stylish "<stdout>" -o.text "$GITHUB_STEP_SUMMARY" qppe-lms.yaml qppe-server.yaml