Skip to content

Commit 0672c69

Browse files
remove github actions section from intro to github page
1 parent a361078 commit 0672c69

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

docs/5.from_git_to_github.md

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -326,47 +326,6 @@ This is how **open-source** contributions work — anyone can suggest improvemen
326326

327327
---
328328

329-
## 9. GitHub Actions — Automated Testing
330-
331-
Dr. X wants to ensure changes don't break the pipeline. They set up **GitHub Actions** to automatically test every commit.
332-
333-
### `.github/workflows/test.yml`:
334-
````yaml
335-
name: Test Pipeline
336-
337-
on: [push, pull_request]
338-
339-
jobs:
340-
test:
341-
runs-on: ubuntu-latest
342-
steps:
343-
- uses: actions/checkout@v3
344-
- name: Set up Python
345-
uses: actions/setup-python@v4
346-
with:
347-
python-version: '3.9'
348-
- name: Install dependencies
349-
run: |
350-
pip install -r requirements.txt
351-
- name: Run tests
352-
run: |
353-
pytest tests/
354-
````
355-
356-
Now, every push and PR triggers automated tests. If tests fail, the PR shows a ❌ and won't be merged until fixed.
357-
````mermaid
358-
flowchart LR
359-
A[Push to GitHub] --> B[GitHub Actions triggered]
360-
B --> C{Tests pass?}
361-
C -->|Yes ✓| D[Green checkmark]
362-
C -->|No ✗| E[Red X - Fix before merge]
363-
364-
style D fill:#e6ffe6,stroke:#0a0
365-
style E fill:#ffe6e6,stroke:#f00
366-
````
367-
368-
---
369-
370329
## 10. README and Documentation
371330

372331
A good `README.md` is like a well-written Methods section — it should help others reproduce your work.

0 commit comments

Comments
 (0)