Skip to content

Commit 3b9b0a1

Browse files
committed
updated actions and skipped hookes to fail on github.
Signed-off-by: René <snooz@posteo.de>
1 parent aa55397 commit 3b9b0a1

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

.github/workflows/pr-preview-surge.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ jobs:
4444
with:
4545
fetch-depth: 0
4646

47+
- name: Set up Python
48+
uses: actions/setup-python@v5
49+
with:
50+
python-version: '3.11'
51+
52+
- name: Check numbering and links
53+
run: python tools/gen_numbering.py
54+
working-directory: .
55+
4756
- name: Use Node.js
4857
uses: actions/setup-node@v4
4958
with:

CONTRIBUTION.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ Thanks for helping us improve the RFCP syllabus! The notes below explain how to
1313
python bootstrap.py
1414
```
1515
The script upgrades `pip`, installs `pre-commit`, and asks whether you want to pull in the optional PDF toolchain (Robot Framework + Browser batteries from `requirements.txt`, plus Chromium via `rfbrowser install chromium`). Answer "y" only if you plan to regenerate the PDF. Regardless of that choice, the script installs the pre-commit hook and then runs `npm install` inside `website/` so Docusaurus has its dependencies.
16-
2. Activate the freshly created virtual environment so local commands use the same interpreters as the hooks:
17-
- macOS/Linux: `source .venv/bin/activate`
18-
- Windows (PowerShell): `.venv\Scripts\Activate.ps1`
19-
3. Start Docusaurus in development mode while you edit:
16+
2. Start Docusaurus in development mode while you edit:
2017
```bash
2118
cd website # if not already there
2219
npm run start
@@ -28,10 +25,16 @@ Thanks for helping us improve the RFCP syllabus! The notes below explain how to
2825
- Docusaurus validates internal links during builds. Run `npm run build` before submitting a PR to catch broken anchors or missing pages early.
2926

3027
## 4. Generating the syllabus PDF
31-
To rebuild the certification PDF from the Robot Framework assets, run the Robot Framework suite from the repo root:
32-
```bash
33-
robot -d results tools/gen_pdf.robot
34-
```
28+
To rebuild the syllabus PDF from the Robot Framework assets, run the Robot Framework suite from the repo root:
29+
30+
1. Activate the created virtual environment so local commands use the same interpreters as the hooks:
31+
- macOS/Linux: `source .venv/bin/activate`
32+
- Windows (PowerShell): `.venv\Scripts\Activate.ps1`
33+
34+
2. Run the suite to generate the PDF:
35+
```bash
36+
robot -d results tools/gen_pdf.robot
37+
```
3538
The PDF and execution logs land inside `results/`.
3639

3740
Following the steps above keeps your local environment consistent with CI and ensures contributions land cleanly. Happy writing!

LOs.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LO-1.3.4,(K1),Recall the difference between Resource Files and Libraries and the
1010
LO-1.4,(K1),Recall the three specification styles of Robot Framework,,,
1111
LO-1.4.1,(K2),Understand the basic concepts of Keyword-Driven Specification,,,
1212
LO-1.4.2,(K2),Understand the basic concepts of Behavior-Driven Specification,,,
13-
LO-1.4.3,(K1),Recall the differences between Keyword-Driven and Behavior-Driven Specification,,,
13+
LO-1.4.3,(K1),Recall the differenceaasdasds between Keyword-Driven and Behavior-Driven Specification,,,
1414
LO-1.4.4,(K1),Recall the purpose of Data-Driven Specification,,,
1515
LO-1.5.1,(K1),Recall the type of open-source license under which Robot Framework is distributed,,,
1616
LO-1.5.2,(K1),List and recall the key objectives and organizational form of the Robot Framework Foundation,,,

0 commit comments

Comments
 (0)